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/tcp_ipv6.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/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index fb291b81cf63..794734f1d230 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1910,8 +1910,6 @@ static int tcp_v6_init_sock(struct sock *sk) | |||
1910 | 1910 | ||
1911 | static int tcp_v6_destroy_sock(struct sock *sk) | 1911 | static int tcp_v6_destroy_sock(struct sock *sk) |
1912 | { | 1912 | { |
1913 | extern int tcp_v4_destroy_sock(struct sock *sk); | ||
1914 | |||
1915 | tcp_v4_destroy_sock(sk); | 1913 | tcp_v4_destroy_sock(sk); |
1916 | return inet6_destroy_sock(sk); | 1914 | return inet6_destroy_sock(sk); |
1917 | } | 1915 | } |
@@ -2123,8 +2121,6 @@ static struct inet6_protocol tcpv6_protocol = { | |||
2123 | .flags = INET6_PROTO_NOPOLICY|INET6_PROTO_FINAL, | 2121 | .flags = INET6_PROTO_NOPOLICY|INET6_PROTO_FINAL, |
2124 | }; | 2122 | }; |
2125 | 2123 | ||
2126 | extern struct proto_ops inet6_stream_ops; | ||
2127 | |||
2128 | static struct inet_protosw tcpv6_protosw = { | 2124 | static struct inet_protosw tcpv6_protosw = { |
2129 | .type = SOCK_STREAM, | 2125 | .type = SOCK_STREAM, |
2130 | .protocol = IPPROTO_TCP, | 2126 | .protocol = IPPROTO_TCP, |