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 /net/ipv4/af_inet.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 'net/ipv4/af_inet.c')
-rw-r--r-- | net/ipv4/af_inet.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 20f52b5f5dea..5810f9d14914 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -859,10 +859,6 @@ static struct net_proto_family inet_family_ops = { | |||
859 | .owner = THIS_MODULE, | 859 | .owner = THIS_MODULE, |
860 | }; | 860 | }; |
861 | 861 | ||
862 | |||
863 | extern void tcp_init(void); | ||
864 | extern void tcp_v4_init(struct net_proto_family *); | ||
865 | |||
866 | /* Upon startup we insert all the elements in inetsw_array[] into | 862 | /* Upon startup we insert all the elements in inetsw_array[] into |
867 | * the linked list inetsw. | 863 | * the linked list inetsw. |
868 | */ | 864 | */ |
@@ -1132,7 +1128,6 @@ static int __init init_ipv4_mibs(void) | |||
1132 | } | 1128 | } |
1133 | 1129 | ||
1134 | static int ipv4_proc_init(void); | 1130 | static int ipv4_proc_init(void); |
1135 | extern void ipfrag_init(void); | ||
1136 | 1131 | ||
1137 | /* | 1132 | /* |
1138 | * IP protocol layer initialiser | 1133 | * IP protocol layer initialiser |
@@ -1253,19 +1248,10 @@ module_init(inet_init); | |||
1253 | /* ------------------------------------------------------------------------ */ | 1248 | /* ------------------------------------------------------------------------ */ |
1254 | 1249 | ||
1255 | #ifdef CONFIG_PROC_FS | 1250 | #ifdef CONFIG_PROC_FS |
1256 | extern int fib_proc_init(void); | ||
1257 | extern void fib_proc_exit(void); | ||
1258 | #ifdef CONFIG_IP_FIB_TRIE | 1251 | #ifdef CONFIG_IP_FIB_TRIE |
1259 | extern int fib_stat_proc_init(void); | 1252 | extern int fib_stat_proc_init(void); |
1260 | extern void fib_stat_proc_exit(void); | 1253 | extern void fib_stat_proc_exit(void); |
1261 | #endif | 1254 | #endif |
1262 | extern int ip_misc_proc_init(void); | ||
1263 | extern int raw_proc_init(void); | ||
1264 | extern void raw_proc_exit(void); | ||
1265 | extern int tcp4_proc_init(void); | ||
1266 | extern void tcp4_proc_exit(void); | ||
1267 | extern int udp4_proc_init(void); | ||
1268 | extern void udp4_proc_exit(void); | ||
1269 | 1255 | ||
1270 | static int __init ipv4_proc_init(void) | 1256 | static int __init ipv4_proc_init(void) |
1271 | { | 1257 | { |