mirror of https://github.com/aya-rs/aya
chore(codegen): Fix duplicate BPF_F_LINK
Per the comment added in the code, there are 2 definitions of BPF_F_LINK in the kernel headers. Once is in an anonymous enum which bindgen will constify, and once is via a #define macro. The values are identical. The fix is to exclude BPF_F_LINK from the list of variables in bindgen removing one of the duplicate definitions. Signed-off-by: Dave Tucker <dave@dtucker.co.uk>reviewable/pr1154/r1
parent
b960fd27b3
commit
d92284e4f8
Loading…
Reference in New Issue