diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
commit | d522f6eb0324008023fed0be4d046f3fc51b0356 (patch) | |
tree | 9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /regress/sys | |
parent | 1b433a7e5b43fe0dec72e100525e31299629c117 (diff) |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/kern/sysvmsg/msgtest.c | 14 | ||||
-rw-r--r-- | regress/sys/kern/sysvsem/semtest.c | 12 | ||||
-rw-r--r-- | regress/sys/kern/sysvshm/shmtest.c | 12 | ||||
-rw-r--r-- | regress/sys/uvm/misc/misc.c | 6 |
4 files changed, 22 insertions, 22 deletions
diff --git a/regress/sys/kern/sysvmsg/msgtest.c b/regress/sys/kern/sysvmsg/msgtest.c index a76203a63af..6750a40765f 100644 --- a/regress/sys/kern/sysvmsg/msgtest.c +++ b/regress/sys/kern/sysvmsg/msgtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msgtest.c,v 1.1 2002/02/16 13:58:18 art Exp $ */ +/* $OpenBSD: msgtest.c,v 1.2 2002/02/17 19:42:27 millert Exp $ */ /* $NetBSD: msgtest.c,v 1.6 2001/02/19 22:44:41 cgd Exp $ */ /*- @@ -56,12 +56,12 @@ #include <time.h> #include <unistd.h> -int main __P((int, char *[])); -void print_msqid_ds __P((struct msqid_ds *, mode_t)); -void sigsys_handler __P((int)); -void sigchld_handler __P((int)); -void cleanup __P((void)); -void receiver __P((void)); +int main(int, char *[]); +void print_msqid_ds(struct msqid_ds *, mode_t); +void sigsys_handler(int); +void sigchld_handler(int); +void cleanup(void); +void receiver(void); #define MESSAGE_TEXT_LEN 256 diff --git a/regress/sys/kern/sysvsem/semtest.c b/regress/sys/kern/sysvsem/semtest.c index dbe3e146491..4a8db7bfa7b 100644 --- a/regress/sys/kern/sysvsem/semtest.c +++ b/regress/sys/kern/sysvsem/semtest.c @@ -55,12 +55,12 @@ #include <time.h> #include <unistd.h> -int main __P((int, char *[])); -void print_semid_ds __P((struct semid_ds *, mode_t)); -void sigsys_handler __P((int)); -void sigchld_handler __P((int)); -void cleanup __P((void)); -void waiter __P((void)); +int main(int, char *[]); +void print_semid_ds(struct semid_ds *, mode_t); +void sigsys_handler(int); +void sigchld_handler(int); +void cleanup(void); +void waiter(void); int sender_semid = -1; pid_t child_pid; diff --git a/regress/sys/kern/sysvshm/shmtest.c b/regress/sys/kern/sysvshm/shmtest.c index 7b633b9fe2e..d513a17eac3 100644 --- a/regress/sys/kern/sysvshm/shmtest.c +++ b/regress/sys/kern/sysvshm/shmtest.c @@ -55,12 +55,12 @@ #include <time.h> #include <unistd.h> -int main __P((int, char *[])); -void print_shmid_ds __P((struct shmid_ds *, mode_t)); -void sigsys_handler __P((int)); -void sigchld_handler __P((int)); -void cleanup __P((void)); -void receiver __P((void)); +int main(int, char *[]); +void print_shmid_ds(struct shmid_ds *, mode_t); +void sigsys_handler(int); +void sigchld_handler(int); +void cleanup(void); +void receiver(void); const char *m_str = "The quick brown fox jumped over the lazy dog."; diff --git a/regress/sys/uvm/misc/misc.c b/regress/sys/uvm/misc/misc.c index 16d9b469c16..9fff553312b 100644 --- a/regress/sys/uvm/misc/misc.c +++ b/regress/sys/uvm/misc/misc.c @@ -55,10 +55,10 @@ #include <unistd.h> #include <string.h> /* for memset declaration (?) */ -int main __P((int, char *[])); -void usage __P((void)); +int main(int, char *[]); +void usage(void); -int check_residency __P((void *, int)); +int check_residency(void *, int); int pgsize; int verbose; |