[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171001.230842.1154581122923138021.davem@davemloft.net>
Date: Sun, 01 Oct 2017 23:08:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org,
sthemmin@...rosoft.com
Subject: Re: [PATCH net-next] samples/bpf: fix warnings in xdp_monitor_user
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Sun, 1 Oct 2017 14:07:34 -0700
> Make local functions static to fix
>
> HOSTCC samples/bpf/xdp_monitor_user.o
> samples/bpf/xdp_monitor_user.c:64:7: warning: no previous prototype for ‘gettime’ [-Wmissing-prototypes]
> __u64 gettime(void)
> ^~~~~~~
> samples/bpf/xdp_monitor_user.c:209:6: warning: no previous prototype for ‘print_bpf_prog_info’ [-Wmissing-prototypes]
> void print_bpf_prog_info(void)
> ^~~~~~~~~~~~~~~~~~~
> Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
Applied.
Powered by blists - more mailing lists