aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-29 02:35:15 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:31:16 -0800
commitf8eb24a89afa12b48fa7e39775faea6d64b8e538 (patch)
treecab6364c9155bebad3b20a8125c7b2a086c36356 /net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
parent[NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization (diff)
downloadlinux-dev-f8eb24a89afa12b48fa7e39775faea6d64b8e538.tar.xz
linux-dev-f8eb24a89afa12b48fa7e39775faea6d64b8e538.zip
[NETFILTER]: nf_conntrack: move extern declaration to header files
Using extern in a C file is a bad idea because the compiler can't catch type errors. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c')
-rw-r--r--net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c b/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
index 2cdf225f162d..b3b468c0ef7a 100644
--- a/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
+++ b/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
@@ -142,9 +142,6 @@ static int icmpv6_new(struct nf_conn *conntrack,
return 1;
}
-extern int
-nf_ct_ipv6_skip_exthdr(struct sk_buff *skb, int start, u8 *nexthdrp, int len);
-extern struct nf_conntrack_l3proto nf_conntrack_l3proto_ipv6;
static int
icmpv6_error_message(struct sk_buff *skb,
unsigned int icmp6off,