File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -834,13 +834,13 @@ static int do_skeleton(int argc, char **argv)
834
834
\n\
835
835
\n\
836
836
#ifdef __cplusplus \n\
837
- static struct %1$s *open(const struct bpf_object_open_opts *opts = nullptr);\n\
838
- static struct %1$s *open_and_load(); \n\
839
- static int load(struct %1$s *skel); \n\
840
- static int attach(struct %1$s *skel); \n\
841
- static void detach(struct %1$s *skel); \n\
842
- static void destroy(struct %1$s *skel); \n\
843
- static const void *elf_bytes(size_t *sz); \n\
837
+ static inline struct %1$s *open(const struct bpf_object_open_opts *opts = nullptr);\n\
838
+ static inline struct %1$s *open_and_load(); \n\
839
+ static inline int load(struct %1$s *skel); \n\
840
+ static inline int attach(struct %1$s *skel); \n\
841
+ static inline void detach(struct %1$s *skel); \n\
842
+ static inline void destroy(struct %1$s *skel); \n\
843
+ static inline const void *elf_bytes(size_t *sz); \n\
844
844
#endif /* __cplusplus */ \n\
845
845
}; \n\
846
846
\n\
You can’t perform that action at this time.
0 commit comments