summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-05-30 04:46:46 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-05-30 04:46:46 +0000
commit4c83b191a3d33e183c86201791bf8afa3e65be18 (patch)
treee21a8776bacd31ed35388291cd9e61e634b88968 /sys/netinet
parentda024d08640ec7bd74b5283712b0f2a1b09bf53e (diff)
no need to declare extern ipsec_in_use, we get it via ip_ipsp.h
found by itojun
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c5
-rw-r--r--sys/netinet/ip_output.c3
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 082e813889e..f8dc27d07a2 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.150 2007/05/29 17:46:24 henning Exp $ */
+/* $OpenBSD: ip_input.c,v 1.151 2007/05/30 04:46:45 henning Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -90,9 +90,6 @@ int ipsec_expire_acquire = IPSEC_DEFAULT_EXPIRE_ACQUIRE;
char ipsec_def_enc[20];
char ipsec_def_auth[20];
char ipsec_def_comp[20];
-#ifdef IPSEC
-extern int ipsec_in_use;
-#endif /* IPSEC */
/* values controllable via sysctl */
int ipforwarding = 0;
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index c23e55f4683..952c9b75b05 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_output.c,v 1.186 2007/05/29 17:46:24 henning Exp $ */
+/* $OpenBSD: ip_output.c,v 1.187 2007/05/30 04:46:45 henning Exp $ */
/* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */
/*
@@ -78,7 +78,6 @@ extern int ipsec_esp_trans_default_level;
extern int ipsec_esp_network_default_level;
extern int ipsec_ipcomp_default_level;
extern int ipforwarding;
-extern int ipsec_in_use;
#endif /* IPSEC */
#ifdef MROUTING