aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-16 01:18:02 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:01:32 -0400
commit20380731bc2897f2952ae055420972ded4cd786e (patch)
treeabd31e5ebfadcf4f9024634eec8b11855029e512 /net/ipv4/af_inet.c
parent9deff7f2365958c5c5aa8cb5a0dd651c4dd83f8f (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.c14
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
863extern void tcp_init(void);
864extern 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
1134static int ipv4_proc_init(void); 1130static int ipv4_proc_init(void);
1135extern 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
1256extern int fib_proc_init(void);
1257extern void fib_proc_exit(void);
1258#ifdef CONFIG_IP_FIB_TRIE 1251#ifdef CONFIG_IP_FIB_TRIE
1259extern int fib_stat_proc_init(void); 1252extern int fib_stat_proc_init(void);
1260extern void fib_stat_proc_exit(void); 1253extern void fib_stat_proc_exit(void);
1261#endif 1254#endif
1262extern int ip_misc_proc_init(void);
1263extern int raw_proc_init(void);
1264extern void raw_proc_exit(void);
1265extern int tcp4_proc_init(void);
1266extern void tcp4_proc_exit(void);
1267extern int udp4_proc_init(void);
1268extern void udp4_proc_exit(void);
1269 1255
1270static int __init ipv4_proc_init(void) 1256static int __init ipv4_proc_init(void)
1271{ 1257{