Re: [PATCH net-next 2/3] samples/bpf: add static to function with no prototype

2017-04-24 Thread Daniel Borkmann
On 04/24/2017 03:31 PM, Alexander Alemayhu wrote: 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

[PATCH net-next 2/3] samples/bpf: add static to function with no prototype

2017-04-24 Thread Alexander Alemayhu
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: Al