On Thu, 11 Aug 2022 00:06:52 -0700 Alexei Starovoitov wrote: > Yeah. It is intentional. > We used all sorts of hacks to shut up this pointless warning. > Just grep for __diag_ignore_all("-Wmissing-prototypes > in two files already. > Here I've opted for the explicit hack and the comment. > Pushed this fix to bpf tree: > https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4e4588f1c4d2e67c993208f0550ef3fae33abce4 > > Please consider pulling these changes from: > > git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git Great, pulled in. Thanks!!