Subject: Re: [PATCH net-next] samples/bpf: fix warnings in xdp_monitor_user

From: Jesper Dangaard Brouer <[email-masked]>
Date: Mon, 2 Oct 2017 07:43:05 +0200

On Sun,  1 Oct 2017 14:07:34 -0700
Stephen Hemminger <[email-masked]> 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 <[email-masked]>
> ---
>  samples/bpf/xdp_monitor_user.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Jesper Dangaard Brouer <[email-masked]>

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer