summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /regress/sys
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/arch/m68k/emuspeed/emuspeed.c4
-rw-r--r--regress/sys/arch/m68k/emuspeed/speed.h24
-rw-r--r--regress/sys/kern/unfdpass/unfdpass.c8
3 files changed, 18 insertions, 18 deletions
diff --git a/regress/sys/arch/m68k/emuspeed/emuspeed.c b/regress/sys/arch/m68k/emuspeed/emuspeed.c
index a0d51725430..7fd19d98fa8 100644
--- a/regress/sys/arch/m68k/emuspeed/emuspeed.c
+++ b/regress/sys/arch/m68k/emuspeed/emuspeed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emuspeed.c,v 1.2 2001/01/29 02:05:53 niklas Exp $ */
+/* $OpenBSD: emuspeed.c,v 1.3 2002/02/16 21:27:32 millert Exp $ */
/* $NetBSD: emuspeed.c,v 1.3 1998/06/15 14:43:25 is Exp $ */
#include <setjmp.h>
@@ -14,7 +14,7 @@
const struct test {
char *name;
- void (*func)__P((int));
+ void (*func)(int);
char *comment;
} testlist[] = {
{"Illegal", illegal, "(test: unimplemented)"},
diff --git a/regress/sys/arch/m68k/emuspeed/speed.h b/regress/sys/arch/m68k/emuspeed/speed.h
index e2dd75ef661..f2f7bbcccff 100644
--- a/regress/sys/arch/m68k/emuspeed/speed.h
+++ b/regress/sys/arch/m68k/emuspeed/speed.h
@@ -1,18 +1,18 @@
-/* $OpenBSD: speed.h,v 1.2 2001/01/29 02:05:54 niklas Exp $ */
+/* $OpenBSD: speed.h,v 1.3 2002/02/16 21:27:32 millert Exp $ */
/* $NetBSD: speed.h,v 1.2 1998/01/09 08:03:57 perry Exp $ */
#include <sys/cdefs.h>
-void illegal __P((int));
-void mul32smem __P((int));
-void mul32sreg __P((int));
+void illegal(int);
+void mul32smem(int);
+void mul32sreg(int);
-void mul64sreg __P((int));
-void mul64ureg __P((int));
-void mul64smem __P((int));
-void mul64umem __P((int));
+void mul64sreg(int);
+void mul64ureg(int);
+void mul64smem(int);
+void mul64umem(int);
-void div64umem __P((int));
-void div64smem __P((int));
-void div64ureg __P((int));
-void div64sreg __P((int));
+void div64umem(int);
+void div64smem(int);
+void div64ureg(int);
+void div64sreg(int);
diff --git a/regress/sys/kern/unfdpass/unfdpass.c b/regress/sys/kern/unfdpass/unfdpass.c
index 589023e8426..1a9727c8d2f 100644
--- a/regress/sys/kern/unfdpass/unfdpass.c
+++ b/regress/sys/kern/unfdpass/unfdpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unfdpass.c,v 1.6 2002/02/11 05:31:25 art Exp $ */
+/* $OpenBSD: unfdpass.c,v 1.7 2002/02/16 21:27:32 millert Exp $ */
/* $NetBSD: unfdpass.c,v 1.3 1998/06/24 23:51:30 thorpej Exp $ */
/*-
@@ -58,9 +58,9 @@
#define SOCK_NAME "test-sock"
-int main __P((int, char *[]));
-void child __P((void));
-void catch_sigchld __P((int));
+int main(int, char *[]);
+void child(void);
+void catch_sigchld(int);
/* ARGSUSED */
int