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 <step...@networkplumber.org>
Fixes: 3ffab5460264 ("samples/bpf: xdp_monitor tool based on tracepoints") Acked-by: Alexei Starovoitov <a...@kernel.org>