summaryrefslogtreecommitdiff
path: root/regress/sbin/isakmpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 16:56:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 16:56:51 +0000
commita02bd508e1de79feadc042a6a602194d97f70dab (patch)
tree81ef7c621045b36a4c34f46ab1652c0f97a80c23 /regress/sbin/isakmpd
parentba1590a4b017c07576ce93524f047637c9acbcea (diff)
remove a couple hundred sys/param.h includes in userland code, and
also whack some sys/cdefs.h early includes which is such a brutally bad pattern ok bluhm mbuhl
Diffstat (limited to 'regress/sbin/isakmpd')
-rw-r--r--regress/sbin/isakmpd/crypto/cryptotest.c3
-rw-r--r--regress/sbin/isakmpd/hmac/hmactest.c4
-rw-r--r--regress/sbin/isakmpd/prf/prftest.c4
-rw-r--r--regress/sbin/isakmpd/x509/x509test.c3
4 files changed, 6 insertions, 8 deletions
diff --git a/regress/sbin/isakmpd/crypto/cryptotest.c b/regress/sbin/isakmpd/crypto/cryptotest.c
index 86f9b1ee70d..b571077d4c9 100644
--- a/regress/sbin/isakmpd/crypto/cryptotest.c
+++ b/regress/sbin/isakmpd/crypto/cryptotest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptotest.c,v 1.2 2016/09/02 16:54:28 mikeb Exp $ */
+/* $OpenBSD: cryptotest.c,v 1.3 2021/12/13 16:56:49 deraadt Exp $ */
/* $EOM: cryptotest.c,v 1.5 1998/10/07 16:40:49 niklas Exp $ */
/*
@@ -30,7 +30,6 @@
* This code was written under funding by Ericsson Radio Systems.
*/
-#include <sys/param.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/regress/sbin/isakmpd/hmac/hmactest.c b/regress/sbin/isakmpd/hmac/hmactest.c
index 1213039e91d..e714d8cf106 100644
--- a/regress/sbin/isakmpd/hmac/hmactest.c
+++ b/regress/sbin/isakmpd/hmac/hmactest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmactest.c,v 1.1 2005/04/08 17:12:49 cloder Exp $ */
+/* $OpenBSD: hmactest.c,v 1.2 2021/12/13 16:56:49 deraadt Exp $ */
/* $EOM: hmactest.c,v 1.3 1998/08/09 19:16:24 niklas Exp $ */
/*
@@ -29,7 +29,7 @@
* This code was written under funding by Ericsson Radio Systems.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/regress/sbin/isakmpd/prf/prftest.c b/regress/sbin/isakmpd/prf/prftest.c
index a1b0c44be3a..a8be544ffb1 100644
--- a/regress/sbin/isakmpd/prf/prftest.c
+++ b/regress/sbin/isakmpd/prf/prftest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prftest.c,v 1.2 2016/09/04 17:47:37 mikeb Exp $ */
+/* $OpenBSD: prftest.c,v 1.3 2021/12/13 16:56:49 deraadt Exp $ */
/* $EOM: prftest.c,v 1.2 1998/10/07 16:40:50 niklas Exp $ */
/*
@@ -29,7 +29,7 @@
* This code was written under funding by Ericsson Radio Systems.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/regress/sbin/isakmpd/x509/x509test.c b/regress/sbin/isakmpd/x509/x509test.c
index 9f6b8b5a91e..15ecce6faf3 100644
--- a/regress/sbin/isakmpd/x509/x509test.c
+++ b/regress/sbin/isakmpd/x509/x509test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509test.c,v 1.2 2014/11/18 20:51:00 krw Exp $ */
+/* $OpenBSD: x509test.c,v 1.3 2021/12/13 16:56:49 deraadt Exp $ */
/* $EOM: x509test.c,v 1.9 2000/12/21 15:24:25 ho Exp $ */
/*
@@ -39,7 +39,6 @@
* isakmpd.
*/
-#include <sys/param.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>