samples/bpf: add static to function with no prototype
authorAlexander Alemayhu <alexander@alemayhu.com>
Mon, 24 Apr 2017 13:31:07 +0000 (15:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 20:20:19 +0000 (16:20 -0400)
commit4784726f69ffa3e076d502a5885d753ccb24a82d
tree8dfbf842a06748cf390eeb125f9b388a04486d4e
parent69b6a7f743d3dac773f9a4c7b1786164ae329490
samples/bpf: add static to function with no prototype

Fixes the following warning

samples/bpf/cookie_uid_helper_example.c: At top level:
samples/bpf/cookie_uid_helper_example.c:276:6: warning: no previous prototype for ‘finish’ [-Wmissing-prototypes]
 void finish(int ret)
      ^~~~~~
  HOSTLD  samples/bpf/per_socket_stats_example

Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/cookie_uid_helper_example.c