]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09fad4468a8d86a1a139ff441b05a50336ecb716
tree8dfbf842a06748cf390eeb125f9b388a04486d4e
parenta3c4d66d371306fa8e2bf660e731489e89fd9936
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