diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-16 05:18:02 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 23:01:32 (GMT) |
commit | 20380731bc2897f2952ae055420972ded4cd786e (patch) | |
tree | abd31e5ebfadcf4f9024634eec8b11855029e512 /include/linux/net.h | |
parent | 9deff7f2365958c5c5aa8cb5a0dd651c4dd83f8f (diff) | |
download | linux-fsl-qoriq-20380731bc2897f2952ae055420972ded4cd786e.tar.xz |
[NET]: Fix sparse warnings
Of this type, mostly:
CHECK net/ipv6/netfilter.c
net/ipv6/netfilter.c:96:12: warning: symbol 'ipv6_netfilter_init' was not declared. Should it be static?
net/ipv6/netfilter.c:101:6: warning: symbol 'ipv6_netfilter_fini' was not declared. Should it be static?
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 5f8b632..4e98158 100644 --- a/include/linux/net.h +++ b/include/linux/net.h @@ -286,5 +286,12 @@ static struct proto_ops name##_ops = { \ #define MODULE_ALIAS_NET_PF_PROTO(pf, proto) \ MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto)) +#ifdef CONFIG_SYSCTL +#include <linux/sysctl.h> +extern ctl_table net_table[]; +extern int net_msg_cost; +extern int net_msg_burst; +#endif + #endif /* __KERNEL__ */ #endif /* _LINUX_NET_H */ |