From: Stephen Hemminger <stephen@networkplumber.org>
To: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] utils: add missing return value
Date: Thu, 13 Aug 2015 19:42:08 -0700 [thread overview]
Message-ID: <20150813194208.3966682f@urahara> (raw)
In-Reply-To: <1439516180-19076-1-git-send-email-zhangshengju@cmss.chinamobile.com>
On Fri, 14 Aug 2015 01:36:20 +0000
Zhang Shengju <zhangshengju@cmss.chinamobile.com> wrote:
> Add missing return value to fix warnings
>
> Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
> ---
> include/utils.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/utils.h b/include/utils.h
> index 95d162c..0c57ccd 100644
> --- a/include/utils.h
> +++ b/include/utils.h
> @@ -137,7 +137,7 @@ const char *mpls_ntop(int af, const void *addr, char *str, size_t len);
> int mpls_pton(int af, const char *src, void *addr);
>
> extern int __iproute2_hz_internal;
> -__get_hz(void);
> +int __get_hz(void);
>
> static __inline__ int get_hz(void)
> {
Applied, thanks
prev parent reply other threads:[~2015-08-14 2:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-14 1:36 [PATCH iproute2] utils: add missing return value Zhang Shengju
2015-08-14 2:42 ` Stephen Hemminger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150813194208.3966682f@urahara \
--to=stephen@networkplumber.org \
--cc=netdev@vger.kernel.org \
--cc=zhangshengju@cmss.chinamobile.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox