On 1/18/24 13:36, Martin KaFai Lau wrote:
On 1/17/24 5:49 PM, thinker.li@xxxxxxxxx wrote:
diff --git a/include/linux/btf.h b/include/linux/btf.h
index 1d852dad7473..a68604904f4e 100644
--- a/include/linux/btf.h
+++ b/include/linux/btf.h
@@ -584,4 +584,6 @@ static inline bool btf_type_is_struct_ptr(struct
btf *btf, const struct btf_type
return btf_type_is_struct(t);
}
+struct bpf_struct_ops_desc;
A forward declaration at the end of a .h file is suspicious....
Not needed also?
I will remove it.
+
#endif