diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index 2ae56e9132c6..d303b834c302 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 bae14d7770ac..0e8ce9aee33c 100644 --- a/sys/netinet6/ip6_forward.c +++ b/sys/netinet6/ip6_forward.c @@ -80,9 +80,6 @@ #include -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 cfee62b84d53..f492fd047de2 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -124,7 +124,6 @@ #include 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 f148e90b3420..aaf6aa16a7e6 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).