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>
This commit is contained in:
Alexander Alemayhu 2017-04-24 15:31:07 +02:00 committed by David S. Miller
parent 69b6a7f743
commit 4784726f69
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ static int usage(void)
return 1;
}
void finish(int ret)
static void finish(int ret)
{
test_finish = true;
}