commit | 9b6eb0478dfad3b0e7af6c73523d96826210f4fe | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Wed Feb 16 15:35:40 2022 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Feb 16 16:58:51 2022 -0800 |
tree | 4f7a775147c617a41a4a4fc3c905b3cc37bcf098 | |
parent | f76d8507d23834f7e56b0fe95c82605e7d7e0efe [diff] |
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