diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-16 01:18:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:01:32 -0400 |
commit | 20380731bc2897f2952ae055420972ded4cd786e (patch) | |
tree | abd31e5ebfadcf4f9024634eec8b11855029e512 /kernel/sysctl.c | |
parent | 9deff7f2365958c5c5aa8cb5a0dd651c4dd83f8f (diff) |
[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 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 3e0bbee549ea..8e56e2495542 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/smp_lock.h> | 31 | #include <linux/smp_lock.h> |
32 | #include <linux/init.h> | 32 | #include <linux/init.h> |
33 | #include <linux/kernel.h> | 33 | #include <linux/kernel.h> |
34 | #include <linux/net.h> | ||
34 | #include <linux/sysrq.h> | 35 | #include <linux/sysrq.h> |
35 | #include <linux/highuid.h> | 36 | #include <linux/highuid.h> |
36 | #include <linux/writeback.h> | 37 | #include <linux/writeback.h> |
@@ -136,9 +137,6 @@ static struct ctl_table_header root_table_header = | |||
136 | 137 | ||
137 | static ctl_table kern_table[]; | 138 | static ctl_table kern_table[]; |
138 | static ctl_table vm_table[]; | 139 | static ctl_table vm_table[]; |
139 | #ifdef CONFIG_NET | ||
140 | extern ctl_table net_table[]; | ||
141 | #endif | ||
142 | static ctl_table proc_table[]; | 140 | static ctl_table proc_table[]; |
143 | static ctl_table fs_table[]; | 141 | static ctl_table fs_table[]; |
144 | static ctl_table debug_table[]; | 142 | static ctl_table debug_table[]; |