summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/fm10k/fm10k_iov.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-10-02 00:07:34 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-02 09:08:24 +0300
commit0929567a7a2dab8455a7313956973ff0d339709a (patch)
tree9d5a0e51d6ac5b8c10a35d3a3946997db3b37d81 /drivers/net/ethernet/intel/fm10k/fm10k_iov.c
parent45bfbc013b4294cadafbef821d377d3a99c7ab1e (diff)
downloadlinux-0929567a7a2dab8455a7313956973ff0d339709a.tar.xz
samples/bpf: fix warnings in xdp_monitor_user
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) ^~~~~~~~~~~~~~~~~~~ Fixes: 3ffab5460264 ("samples/bpf: xdp_monitor tool based on tracepoints") Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_iov.c')
0 files changed, 0 insertions, 0 deletions