diff options
| author | Xiongwei Song <[email protected]> | 2017-12-18 23:17:15 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2017-12-19 00:37:16 +0000 |
| commit | c060bc6115b6a204cb60e6b03fe64135731bc6c8 (patch) | |
| tree | 1a0c6ef160a963fabd2bed465e5fca1786337a26 /tools/bpf/bpftool/prog.c | |
| parent | selftests/bpf: add netdevsim to config (diff) | |
| download | kernel-c060bc6115b6a204cb60e6b03fe64135731bc6c8.tar.gz kernel-c060bc6115b6a204cb60e6b03fe64135731bc6c8.zip | |
bpf: make function xdp_do_generic_redirect_map() static
The function xdp_do_generic_redirect_map() is only used in this file, so
make it static.
Clean up sparse warning:
net/core/filter.c:2687:5: warning: no previous prototype
for 'xdp_do_generic_redirect_map' [-Wmissing-prototypes]
Signed-off-by: Xiongwei Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
