diff options
author | 2013-04-24 10:17:08 +0000 | |
---|---|---|
committer | 2013-04-24 10:17:08 +0000 | |
commit | bb4015ad55e06a3737226d6e99bd783be58c5db4 (patch) | |
tree | f96e384f928c8e19cfbe33bba5011966ab0dc7bf /sys/netinet/ipsec_input.c | |
parent | .Op Fl b not .Fl b for run-shell synopsis, from Ben Boeckel. (diff) | |
download | wireguard-openbsd-bb4015ad55e06a3737226d6e99bd783be58c5db4.tar.xz wireguard-openbsd-bb4015ad55e06a3737226d6e99bd783be58c5db4.zip |
Instead of having various extern declarations for protocol variables,
declare them once in their corresponding header file.
Diffstat (limited to 'sys/netinet/ipsec_input.c')
-rw-r--r-- | sys/netinet/ipsec_input.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c index b4af9a60fe4..af9946496f2 100644 --- a/sys/netinet/ipsec_input.c +++ b/sys/netinet/ipsec_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_input.c,v 1.113 2013/04/11 12:06:25 mpi Exp $ */ +/* $OpenBSD: ipsec_input.c,v 1.114 2013/04/24 10:17:08 mpi Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -110,11 +110,6 @@ int *espctl_vars[ESPCTL_MAXID] = ESPCTL_VARS; int *ahctl_vars[AHCTL_MAXID] = AHCTL_VARS; int *ipcompctl_vars[IPCOMPCTL_MAXID] = IPCOMPCTL_VARS; -#ifdef INET6 -extern struct ip6protosw inet6sw[]; -extern u_char ip6_protox[]; -#endif - /* * ipsec_common_input() gets called when we receive an IPsec-protected packet * in IPv4 or IPv6. All it does is find the right TDB and call the appropriate |