diff options
author | 2013-04-10 08:50:59 +0000 | |
---|---|---|
committer | 2013-04-10 08:50:59 +0000 | |
commit | 96c820636b53d5eb761dc8974342357acdf1b321 (patch) | |
tree | b5dbab679e4cb77579a8f3e316933e33789c08d1 /sys/netinet/tcp_subr.c | |
parent | Merge usbd_get_device_desc() into the only function using them. (diff) | |
download | wireguard-openbsd-96c820636b53d5eb761dc8974342357acdf1b321.tar.xz wireguard-openbsd-96c820636b53d5eb761dc8974342357acdf1b321.zip |
Remove various external variable declaration from sources files and
move them to the corresponding header with an appropriate comment if
necessary.
ok guenther@
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 9954687ff55..1038cfb61ad 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.117 2013/04/02 18:27:47 bluhm Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.118 2013/04/10 08:50:59 mpi Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -84,6 +84,7 @@ #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/ip.h> +#include <netinet/in_var.h> #include <netinet/in_pcb.h> #include <netinet/ip_var.h> #include <netinet/ip_icmp.h> @@ -97,6 +98,7 @@ #ifdef INET6 #include <netinet6/in6_var.h> +#include <netinet6/ip6_var.h> #include <netinet6/ip6protosw.h> #endif /* INET6 */ @@ -137,10 +139,6 @@ int tcp_reass_limit = NMBCLUSTERS / 2; /* hardlimit for tcpqe_pool */ int tcp_sackhole_limit = 32*1024; /* hardlimit for sackhl_pool */ #endif -#ifdef INET6 -extern int ip6_defhlim; -#endif /* INET6 */ - struct pool tcpcb_pool; struct pool tcpqe_pool; #ifdef TCP_SACK @@ -778,7 +776,6 @@ tcp_ctlinput(int cmd, struct sockaddr *sa, u_int rdomain, void *v) struct in_addr faddr; tcp_seq seq; u_int mtu; - extern int inetctlerrmap[]; void (*notify)(struct inpcb *, int) = tcp_notify; int errno; |