diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2022-02-17 02:35:40 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-02-17 03:58:51 +0300 |
commit | 9b6eb0478dfad3b0e7af6c73523d96826210f4fe (patch) | |
tree | 4f7a775147c617a41a4a4fc3c905b3cc37bcf098 /tools/lib/bpf/netlink.c | |
parent | f76d8507d23834f7e56b0fe95c82605e7d7e0efe (diff) | |
download | linux-9b6eb0478dfad3b0e7af6c73523d96826210f4fe.tar.xz |
bpftool: Fix C++ additions to skeleton
Mark C++-specific T::open() and other methods as static inline to avoid
symbol redefinition when multiple files use the same skeleton header in
an application.
Fixes: bb8ffe61ea45 ("bpftool: Add C++-specific open/load/etc skeleton wrappers")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220216233540.216642-1-andrii@kernel.org
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions