Re: [PATCH] netfilter: add nf_queue_entry forward declaration

From: Pablo Neira Ayuso
Date: Tue Jan 02 2018 - 06:12:02 EST


On Tue, Jan 02, 2018 at 11:16:23AM +0100, Arnd Bergmann wrote:
> The newly added callback pointers cause a warning for some configurations:
>
> In file included from net/ipv6/af_inet6.c:45:0:
> include/linux/netfilter_ipv6.h:38:51: error: 'struct nf_queue_entry' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>
> Adding a forward declaration for the type avoids the warnings.

Applied, thanks Arnd.