Remove duplicate extern declarations to silence warnings.
This commit is contained in:
parent
554c50af26
commit
f7f2a5dc47
@ -135,8 +135,6 @@
|
||||
#endif
|
||||
|
||||
extern struct domain inet6domain;
|
||||
extern struct ip6protosw inet6sw[];
|
||||
extern u_char ip6_protox[];
|
||||
|
||||
struct icmp6stat icmp6stat;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user