Re: netfilter: nf_nat: make find/put static

From: Patrick McHardy
Date: Fri Oct 29 2010 - 10:30:59 EST


Am 28.10.2010 20:42, schrieb Geert Uytterhoeven:
> On Sat, Oct 23, 2010 at 21:23, Linux Kernel Mailing List
> <linux-kernel@xxxxxxxxxxxxxxx> wrote:
>> netfilter: nf_nat: make find/put static
>>
>> ...
>
> They should be moved inside the
> "#if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)",
> as I now get:
>
> net/ipv4/netfilter/nf_nat_core.c:52: warning: ânf_nat_proto_find_getâ
> defined but not used
> net/ipv4/netfilter/nf_nat_core.c:66: warning: ânf_nat_proto_putâ
> defined but not used

Thanks, I'll fix this up.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/