diff options
author | Jean-Philippe Menil <[email protected]> | 2020-03-27 21:47:13 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-03-28 18:13:18 +0100 |
commit | e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b (patch) | |
tree | 4d1180ad9c48217810d79502e5563101c3c27530 /lib/test-string_helpers.c | |
parent | 291cfe365bd3d5002a9c49e9fca8f30136eebc28 (diff) |
bpf: Fix build warning regarding missing prototypes
Fix build warnings when building net/bpf/test_run.o with W=1 due
to missing prototype for bpf_fentry_test{1..6}.
Instead of declaring prototypes, turn off warnings with
__diag_{push,ignore,pop} as pointed out by Alexei.
Signed-off-by: Jean-Philippe Menil <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions