summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-05 23:20:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-05 23:20:27 +0000
commit0275dcbbe75bf604e5d9b03f215e510188a36496 (patch)
tree5c28b494f1e6a54c80a5317abfe2c32e13cbbdc5 /regress
parent56b74e8e5b53b78f8c539afa3b9581be53b79e06 (diff)
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libc/regex/t_exhaust.c4
-rw-r--r--regress/lib/libm/fenv/fenv.c3
-rw-r--r--regress/libexec/ld.so/weak/libweak/weak.c4
-rw-r--r--regress/sys/arch/m68k/emuspeed/speed.h4
4 files changed, 6 insertions, 9 deletions
diff --git a/regress/lib/libc/regex/t_exhaust.c b/regress/lib/libc/regex/t_exhaust.c
index e4d4e4f5d7c..58ac8007f2c 100644
--- a/regress/lib/libc/regex/t_exhaust.c
+++ b/regress/lib/libc/regex/t_exhaust.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t_exhaust.c,v 1.2 2011/11/06 15:47:07 otto Exp $ */
+/* $OpenBSD: t_exhaust.c,v 1.3 2012/12/05 23:20:07 deraadt Exp $ */
/* $NetBSD: t_exhaust.c,v 1.2 2011/10/21 00:41:34 christos Exp $ */
/*-
@@ -37,8 +37,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <stdio.h>
#include <regex.h>
#include <string.h>
diff --git a/regress/lib/libm/fenv/fenv.c b/regress/lib/libm/fenv/fenv.c
index 14d34402256..d821c1babe7 100644
--- a/regress/lib/libm/fenv/fenv.c
+++ b/regress/lib/libm/fenv/fenv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fenv.c,v 1.1 2011/03/21 21:51:28 martynas Exp $ */
+/* $OpenBSD: fenv.c,v 1.2 2012/12/05 23:20:07 deraadt Exp $ */
/*-
* Copyright (c) 2004 David Schultz <das@FreeBSD.org>
@@ -30,7 +30,6 @@
* Test the correctness and C99-compliance of various fenv.h features.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <assert.h>
diff --git a/regress/libexec/ld.so/weak/libweak/weak.c b/regress/libexec/ld.so/weak/libweak/weak.c
index 39736cd96c5..b641553488a 100644
--- a/regress/libexec/ld.so/weak/libweak/weak.c
+++ b/regress/libexec/ld.so/weak/libweak/weak.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: weak.c,v 1.2 2002/11/13 21:51:04 fgsch Exp $ */
+/* $OpenBSD: weak.c,v 1.3 2012/12/05 23:20:08 deraadt Exp $ */
/*
* Public domain. 2002, Federico Schwindt <fgsch@openbsd.org>.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include "defs.h"
int
diff --git a/regress/sys/arch/m68k/emuspeed/speed.h b/regress/sys/arch/m68k/emuspeed/speed.h
index f2f7bbcccff..6a25794c843 100644
--- a/regress/sys/arch/m68k/emuspeed/speed.h
+++ b/regress/sys/arch/m68k/emuspeed/speed.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: speed.h,v 1.3 2002/02/16 21:27:32 millert Exp $ */
+/* $OpenBSD: speed.h,v 1.4 2012/12/05 23:20:08 deraadt Exp $ */
/* $NetBSD: speed.h,v 1.2 1998/01/09 08:03:57 perry Exp $ */
-#include <sys/cdefs.h>
+#include <sys/types.h>
void illegal(int);
void mul32smem(int);