diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2022-06-30 11:36:38 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-06-30 16:11:20 +0200 |
commit | b0cbd6154a9a3964490cafa0a9444be626271bd9 (patch) | |
tree | de545411e62c126f4ca8e264102fff693de0f332 /tools/bpf | |
parent | f0cf642c56b76dfbbb5f2be67fa180191d5ab0ef (diff) | |
download | linux-b0cbd6154a9a3964490cafa0a9444be626271bd9.tar.bz2 |
bpftool: Remove attach_type_name forward declaration
The attach_type_name definition was removed in commit 1ba5ad36e00f
("bpftool: Use libbpf_bpf_attach_type_str"). Remove its forward
declaration in main.h as well.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220630093638.25916-1-tklauser@distanz.ch
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/bpftool/main.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/bpf/bpftool/main.h b/tools/bpf/bpftool/main.h index 589cb76b227a..5e5060c2ac04 100644 --- a/tools/bpf/bpftool/main.h +++ b/tools/bpf/bpftool/main.h @@ -63,8 +63,6 @@ static inline void *u64_to_ptr(__u64 ptr) #define HELP_SPEC_LINK \ "LINK := { id LINK_ID | pinned FILE }" -extern const char * const attach_type_name[__MAX_BPF_ATTACH_TYPE]; - /* keep in sync with the definition in skeleton/pid_iter.bpf.c */ enum bpf_obj_type { BPF_OBJ_UNKNOWN, |