diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-24 13:22:35 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-24 13:22:35 +0200 |
commit | 97d26b9ee4bffda96e74fd1379cdddd47adbaf49 (patch) | |
tree | 40bda8423baadbcb89b8f7c47acd6445dfdcc92e /bpf.h | |
parent | a168c8c7b8d6f884775815ba45868689fe43774e (diff) |
misc: fix some minor compile warnings all over
Some regarding unused parameter, some regarding signed/unsigned
comparison.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'bpf.h')
-rw-r--r-- | bpf.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -26,8 +26,9 @@ extern void bpf_parse_rules(char *rulefile, struct sock_fprog *bpf, uint32_t lin extern void bpf_try_compile(const char *rulefile, struct sock_fprog *bpf, uint32_t link_type); #else -static inline void bpf_try_compile(const char *rulefile, struct sock_fprog *bpf, - uint32_t link_type) +static inline void bpf_try_compile(const char *rulefile, + struct sock_fprog *bpf __maybe_unused, + uint32_t link_type __maybe_unused) { panic("Cannot open file %s!\n", rulefile); } |