[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171002013556.tfz4o5tbxqpbvchb@ast-mbp>
Date: Sun, 1 Oct 2017 18:35:57 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org,
Stephen Hemminger <sthemmin@...rosoft.com>,
Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: [PATCH net-next] samples/bpf: fix warnings in xdp_monitor_user
On Sun, Oct 01, 2017 at 02:07:34PM -0700, Stephen Hemminger wrote:
> 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>
Fixes: 3ffab5460264 ("samples/bpf: xdp_monitor tool based on tracepoints")
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists