summaryrefslogtreecommitdiff
path: root/regress/sys/kern/rfork
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 21:48:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 21:48:11 +0000
commit8deaa5cb1bdad9c4505896866607f4272b307e9a (patch)
treef2b66a24b21f1edc23c12fdb15eab63814fc036d /regress/sys/kern/rfork
parent1472e2b5666bd9c64d37882b7cfb2596d9352eb3 (diff)
various cleanups; david says results are same
Diffstat (limited to 'regress/sys/kern/rfork')
-rw-r--r--regress/sys/kern/rfork/madness/madness.c4
-rw-r--r--regress/sys/kern/rfork/rfcfdg/rfcfdg.c4
-rw-r--r--regress/sys/kern/rfork/rfmem-stack/rfmem-stack.c4
-rw-r--r--regress/sys/kern/rfork/rfmem/rfmem.c4
-rw-r--r--regress/sys/kern/rfork/rfnowait/rfnowait.c4
-rw-r--r--regress/sys/kern/rfork/rfsharefd/rfsharefd.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/regress/sys/kern/rfork/madness/madness.c b/regress/sys/kern/rfork/madness/madness.c
index b5002413eaf..d6add455644 100644
--- a/regress/sys/kern/rfork/madness/madness.c
+++ b/regress/sys/kern/rfork/madness/madness.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: madness.c,v 1.1 2002/02/17 05:58:51 art Exp $ */
+/* $OpenBSD: madness.c,v 1.2 2003/07/31 21:48:09 deraadt Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain.
*/
@@ -11,7 +11,7 @@
volatile int step;
int
-main()
+main(int argc, char *argv[])
{
int fds[2], fd;
pid_t pid1, pid2, pid3;
diff --git a/regress/sys/kern/rfork/rfcfdg/rfcfdg.c b/regress/sys/kern/rfork/rfcfdg/rfcfdg.c
index 069e298c379..95fd6204368 100644
--- a/regress/sys/kern/rfork/rfcfdg/rfcfdg.c
+++ b/regress/sys/kern/rfork/rfcfdg/rfcfdg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfcfdg.c,v 1.2 2002/02/21 23:29:05 deraadt Exp $ */
+/* $OpenBSD: rfcfdg.c,v 1.3 2003/07/31 21:48:09 deraadt Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain.
*/
@@ -11,7 +11,7 @@
#include <fcntl.h>
int
-main()
+main(int argc, char *argv[])
{
int status;
diff --git a/regress/sys/kern/rfork/rfmem-stack/rfmem-stack.c b/regress/sys/kern/rfork/rfmem-stack/rfmem-stack.c
index 373a98767d2..a40fa871f06 100644
--- a/regress/sys/kern/rfork/rfmem-stack/rfmem-stack.c
+++ b/regress/sys/kern/rfork/rfmem-stack/rfmem-stack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfmem-stack.c,v 1.3 2002/02/22 01:06:58 art Exp $ */
+/* $OpenBSD: rfmem-stack.c,v 1.4 2003/07/31 21:48:09 deraadt Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain.
*/
@@ -14,7 +14,7 @@
#define MAGIC "inherited"
int
-main()
+main(int argc, char *argv[])
{
char *map, *map2;
int status;
diff --git a/regress/sys/kern/rfork/rfmem/rfmem.c b/regress/sys/kern/rfork/rfmem/rfmem.c
index 86bc1eee878..b6b38fc2861 100644
--- a/regress/sys/kern/rfork/rfmem/rfmem.c
+++ b/regress/sys/kern/rfork/rfmem/rfmem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfmem.c,v 1.2 2002/02/21 23:29:05 deraadt Exp $ */
+/* $OpenBSD: rfmem.c,v 1.3 2003/07/31 21:48:09 deraadt Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain.
*/
@@ -14,7 +14,7 @@
#define MAGIC "inherited"
int
-main()
+main(int argc, char *argv[])
{
void *map;
int page_size;
diff --git a/regress/sys/kern/rfork/rfnowait/rfnowait.c b/regress/sys/kern/rfork/rfnowait/rfnowait.c
index 0b9dd7aea57..58d2421557d 100644
--- a/regress/sys/kern/rfork/rfnowait/rfnowait.c
+++ b/regress/sys/kern/rfork/rfnowait/rfnowait.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfnowait.c,v 1.2 2002/02/21 23:29:05 deraadt Exp $ */
+/* $OpenBSD: rfnowait.c,v 1.3 2003/07/31 21:48:09 deraadt Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain.
*/
@@ -11,7 +11,7 @@
#include <errno.h>
int
-main()
+main(int argc, char *argv[])
{
int status;
diff --git a/regress/sys/kern/rfork/rfsharefd/rfsharefd.c b/regress/sys/kern/rfork/rfsharefd/rfsharefd.c
index 81ce1725c35..ad7c0a3f331 100644
--- a/regress/sys/kern/rfork/rfsharefd/rfsharefd.c
+++ b/regress/sys/kern/rfork/rfsharefd/rfsharefd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfsharefd.c,v 1.2 2002/02/17 18:32:09 deraadt Exp $ */
+/* $OpenBSD: rfsharefd.c,v 1.3 2003/07/31 21:48:09 deraadt Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain.
*/
@@ -11,7 +11,7 @@
#include <fcntl.h>
int
-main()
+main(int argc, char *argv[])
{
int status;
int fd;