commit | fa2d41adb953235c4acaa98f6c980fd9eabe0062 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Dec 18 17:47:07 2017 +0000 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Dec 19 01:26:04 2017 +0100 |
tree | 8c8195e18ea84f249167f4d4512fce3cf95680a7 | |
parent | e90004d56bf805db7d4401fe51a80a93c311cfe6 [diff] |
bpf: make function skip_callee static and return NULL rather than 0 Function skip_callee is local to the source and does not need to be in global scope, so make it static. Also return NULL rather than 0. Cleans up two sparse warnings: symbol 'skip_callee' was not declared. Should it be static? Using plain integer as NULL pointer Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>