netfilter: fix compilation error with NAT=n
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 20 Oct 2008 10:34:27 +0000 (03:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Oct 2008 10:34:27 +0000 (03:34 -0700)
commit67671841dfb82df7a60c46e6fefe813cf57805ff
treeb843c3857802eba681fca48b7192e59787b2885c
parentb09eec161b0d416cac0f4758042efdf8f912ce27
netfilter: fix compilation error with NAT=n

This patch fixes the compilation of ctnetlink when the NAT support
is not enabled.

/home/benh/kernels/linux-powerpc/net/netfilter/nf_conntrack_netlink.c:819: warning: enum nf_nat_manip_type\u2019 declared inside parameter list
/home/benh/kernels/linux-powerpc/net/netfilter/nf_conntrack_netlink.c:819: warning: its scope is only this definition or declaration, which is probably not what you want

Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reported by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_netlink.c