summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-08 03:58:49 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-08 03:58:49 +0000
commit17df0b0cd10dfdb571c0e351af2cb9775cad5195 (patch)
tree59f10c01dc71682f1e7d7b7ded805c8224e93613 /sys
parent56031ed6b75caadd912f58b2f6ab2336cd1c7757 (diff)
Yet more include file cleanup.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfkey.c9
-rw-r--r--sys/net/pfkeyv2_parsemessage.c10
2 files changed, 4 insertions, 15 deletions
diff --git a/sys/net/pfkey.c b/sys/net/pfkey.c
index 9472c02e826..64bd0234df3 100644
--- a/sys/net/pfkey.c
+++ b/sys/net/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.10 2001/06/05 02:31:33 deraadt Exp $ */
+/* $OpenBSD: pfkey.c,v 1.11 2001/06/08 03:58:48 angelos Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -70,22 +70,17 @@
#include <sys/types.h>
#include <sys/param.h>
-#include <sys/socket.h>
#include <sys/systm.h>
+#include <sys/socket.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/socketvar.h>
-#include <sys/proc.h>
#include <net/route.h>
-#include <netinet/in.h>
#include <netinet/ip_ipsp.h>
#include <net/pfkeyv2.h>
#include <sys/protosw.h>
#include <sys/domain.h>
#include <net/raw_cb.h>
-#include <netinet/ip_ipsp.h>
#define PFKEY_PROTOCOL_MAX 3
static struct pfkey_version *pfkey_versions[PFKEY_PROTOCOL_MAX+1] = { NULL, NULL, NULL, NULL };
diff --git a/sys/net/pfkeyv2_parsemessage.c b/sys/net/pfkeyv2_parsemessage.c
index b4acb979ae6..aace2894136 100644
--- a/sys/net/pfkeyv2_parsemessage.c
+++ b/sys/net/pfkeyv2_parsemessage.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.25 2001/06/05 02:31:34 deraadt Exp $ */
+/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.26 2001/06/08 03:58:48 angelos Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -68,17 +68,11 @@
* SUCH DAMAGE.
*/
-#include <sys/types.h>
#include <sys/param.h>
-#include <sys/socket.h>
#include <sys/systm.h>
+#include <sys/socket.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
-#include <sys/socketvar.h>
#include <sys/proc.h>
-#include <net/route.h>
-#include <netinet/in.h>
#include <netinet/ip_ipsp.h>
#include <net/pfkeyv2.h>