]> 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)
commitdbf3788c91df292bea4de019efa2ac4473b733a1
tree8dfbf842a06748cf390eeb125f9b388a04486d4e
parent613ec943534f9b09dc2c2de901f77179d8524bf2
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