summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 19:45:41 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 19:45:41 +0000
commitf7f2a5dc4710a86794d0a5fb094bb4959536b17e (patch)
treef7665af17bf11f9662201636e8eb284c57b0c961
parent554c50af2609b06cebe048137bfaaf75d1c1e9e7 (diff)
downloadFreeBSD-src-f7f2a5dc4710a86794d0a5fb094bb4959536b17e.zip
FreeBSD-src-f7f2a5dc4710a86794d0a5fb094bb4959536b17e.tar.gz
Remove duplicate extern declarations to silence warnings.
-rw-r--r--sys/netinet6/icmp6.c2
-rw-r--r--sys/netinet6/ip6_forward.c3
-rw-r--r--sys/netinet6/ip6_input.c1
-rw-r--r--sys/netinet6/ip6_output.c3
4 files changed, 0 insertions, 9 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 2ae56e9..d303b83 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -135,8 +135,6 @@
#endif
extern struct domain inet6domain;
-extern struct ip6protosw inet6sw[];
-extern u_char ip6_protox[];
struct icmp6stat icmp6stat;
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index bae14d7..0e8ce9ae 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -80,9 +80,6 @@
#include <netinet6/ip6protosw.h>
-extern struct ip6protosw inet6sw[];
-extern u_char ip6_protox[IPPROTO_MAX];
-
struct route_in6 ip6_forward_rt;
/*
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index cfee62b..f492fd0 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -124,7 +124,6 @@
#include <net/net_osdep.h>
extern struct domain inet6domain;
-extern struct ip6protosw inet6sw[];
u_char ip6_protox[IPPROTO_MAX];
static int ip6qmaxlen = IFQ_MAXLEN;
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index f148e90..aaf6aa1 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -131,9 +131,6 @@ static int ip6_insertfraghdr __P((struct mbuf *, struct mbuf *, int,
static int ip6_insert_jumboopt __P((struct ip6_exthdrs *, u_int32_t));
static int ip6_splithdr __P((struct mbuf *, struct ip6_exthdrs *));
-extern struct ip6protosw inet6sw[];
-extern u_char ip6_protox[IPPROTO_MAX];
-
/*
* IP6 output. The packet in mbuf chain m contains a skeletal IP6
* header (with pri, len, nxt, hlim, src, dst).
OpenPOWER on IntegriCloud