diff options
| author | Andrii Nakryiko <[email protected]> | 2021-11-24 11:32:32 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-11-25 23:35:46 +0100 |
| commit | 99a12a32fee4f740af2f36bb8f64e11c026f3389 (patch) | |
| tree | 11186b4cb382812e51631484a0bc20872e2c4c01 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | a9606f405f2c8f24751b0a7326655a657a63ad60 (diff) | |
libbpf: Prevent deprecation warnings in xsk.c
xsk.c is using own APIs that are marked for deprecation internally.
Given xsk.c and xsk.h will be gone in libbpf 1.0, there is no reason to
do public vs internal function split just to avoid deprecation warnings.
So just add a pragma to silence deprecation warnings (until the code is
removed completely).
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions