diff options
| author | 2025-10-01 10:13:24 -0700 | |
|---|---|---|
| committer | 2025-10-01 15:27:25 -0700 | |
| commit | c68b6fdc3600466e3c265bad34d099eb8c5280f1 (patch) | |
| tree | ad84257239d9e3dc5e957f4ef511bb94d0fe33da /tools/lib/bpf/elf.c | |
| parent | libbpf: remove unused libbpf_strerror_r and STRERR_BUFSIZE (diff) | |
| download | wireguard-linux-c68b6fdc3600466e3c265bad34d099eb8c5280f1.tar.xz wireguard-linux-c68b6fdc3600466e3c265bad34d099eb8c5280f1.zip | |
libbpf: move libbpf_errstr() into libbpf_utils.c
Get rid of str_err.{c,h} by moving implementation of libbpf_errstr()
into libbpf_utils.c and declarations into libbpf_internal.h.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20251001171326.3883055-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'tools/lib/bpf/elf.c')
| -rw-r--r-- | tools/lib/bpf/elf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lib/bpf/elf.c b/tools/lib/bpf/elf.c index 823f83ad819c..295dbda24580 100644 --- a/tools/lib/bpf/elf.c +++ b/tools/lib/bpf/elf.c @@ -9,7 +9,6 @@ #include <linux/kernel.h> #include "libbpf_internal.h" -#include "str_error.h" /* A SHT_GNU_versym section holds 16-bit words. This bit is set if * the symbol is hidden and can only be seen when referenced using an |
