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/ipv6/af_inet6.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/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 7df2ccb380d..4f8795af2ed 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -67,23 +67,6 @@ MODULE_AUTHOR("Cast of dozens"); | |||
67 | MODULE_DESCRIPTION("IPv6 protocol stack for Linux"); | 67 | MODULE_DESCRIPTION("IPv6 protocol stack for Linux"); |
68 | MODULE_LICENSE("GPL"); | 68 | MODULE_LICENSE("GPL"); |
69 | 69 | ||
70 | /* IPv6 procfs goodies... */ | ||
71 | |||
72 | #ifdef CONFIG_PROC_FS | ||
73 | extern int raw6_proc_init(void); | ||
74 | extern void raw6_proc_exit(void); | ||
75 | extern int tcp6_proc_init(void); | ||
76 | extern void tcp6_proc_exit(void); | ||
77 | extern int udp6_proc_init(void); | ||
78 | extern void udp6_proc_exit(void); | ||
79 | extern int ipv6_misc_proc_init(void); | ||
80 | extern void ipv6_misc_proc_exit(void); | ||
81 | extern int ac6_proc_init(void); | ||
82 | extern void ac6_proc_exit(void); | ||
83 | extern int if6_proc_init(void); | ||
84 | extern void if6_proc_exit(void); | ||
85 | #endif | ||
86 | |||
87 | int sysctl_ipv6_bindv6only; | 70 | int sysctl_ipv6_bindv6only; |
88 | 71 | ||
89 | /* The inetsw table contains everything that inet_create needs to | 72 | /* The inetsw table contains everything that inet_create needs to |
@@ -505,11 +488,6 @@ static struct net_proto_family inet6_family_ops = { | |||
505 | .owner = THIS_MODULE, | 488 | .owner = THIS_MODULE, |
506 | }; | 489 | }; |
507 | 490 | ||
508 | #ifdef CONFIG_SYSCTL | ||
509 | extern void ipv6_sysctl_register(void); | ||
510 | extern void ipv6_sysctl_unregister(void); | ||
511 | #endif | ||
512 | |||
513 | /* Same as inet6_dgram_ops, sans udp_poll. */ | 491 | /* Same as inet6_dgram_ops, sans udp_poll. */ |
514 | static struct proto_ops inet6_sockraw_ops = { | 492 | static struct proto_ops inet6_sockraw_ops = { |
515 | .family = PF_INET6, | 493 | .family = PF_INET6, |
@@ -676,8 +654,6 @@ static void cleanup_ipv6_mibs(void) | |||
676 | snmp6_mib_free((void **)udp_stats_in6); | 654 | snmp6_mib_free((void **)udp_stats_in6); |
677 | } | 655 | } |
678 | 656 | ||
679 | extern int ipv6_misc_proc_init(void); | ||
680 | |||
681 | static int __init inet6_init(void) | 657 | static int __init inet6_init(void) |
682 | { | 658 | { |
683 | struct sk_buff *dummy_skb; | 659 | struct sk_buff *dummy_skb; |