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 | |
parent | 1b433a7e5b43fe0dec72e100525e31299629c117 (diff) |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libc_r/include/test.h | 10 | ||||
-rw-r--r-- | regress/lib/libpthread/include/test.h | 10 | ||||
-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 |
6 files changed, 32 insertions, 32 deletions
diff --git a/regress/lib/libc_r/include/test.h b/regress/lib/libc_r/include/test.h index 32798c2d1df..58fdc8fb554 100644 --- a/regress/lib/libc_r/include/test.h +++ b/regress/lib/libc_r/include/test.h @@ -1,4 +1,4 @@ -/* $OpenBSD: test.h,v 1.3 2002/02/16 21:27:32 millert Exp $ */ +/* $OpenBSD: test.h,v 1.4 2002/02/17 19:42:27 millert Exp $ */ #ifndef _h_test_ #define _h_test_ @@ -12,10 +12,10 @@ int _thread_sys_write(int, const char*, size_t); __dead void _thread_sys__exit(int) __attribute__((__noreturn__)); -static __dead void __vpanic __P((const char *, const char *, const char *, - int, const char *, va_list)) __attribute__((__noreturn__)); -static __dead void __panic __P((const char *, const char *, const char *, - int, const char *, ...)) __attribute__((__noreturn__)); +static __dead void __vpanic(const char *, const char *, const char *, + int, const char *, va_list) __attribute__((__noreturn__)); +static __dead void __panic(const char *, const char *, const char *, + int, const char *, ...) __attribute__((__noreturn__)); #if defined(__OpenBSD__) || defined(__FreeBSD__) #include <pthread.h> diff --git a/regress/lib/libpthread/include/test.h b/regress/lib/libpthread/include/test.h index 32798c2d1df..58fdc8fb554 100644 --- a/regress/lib/libpthread/include/test.h +++ b/regress/lib/libpthread/include/test.h @@ -1,4 +1,4 @@ -/* $OpenBSD: test.h,v 1.3 2002/02/16 21:27:32 millert Exp $ */ +/* $OpenBSD: test.h,v 1.4 2002/02/17 19:42:27 millert Exp $ */ #ifndef _h_test_ #define _h_test_ @@ -12,10 +12,10 @@ int _thread_sys_write(int, const char*, size_t); __dead void _thread_sys__exit(int) __attribute__((__noreturn__)); -static __dead void __vpanic __P((const char *, const char *, const char *, - int, const char *, va_list)) __attribute__((__noreturn__)); -static __dead void __panic __P((const char *, const char *, const char *, - int, const char *, ...)) __attribute__((__noreturn__)); +static __dead void __vpanic(const char *, const char *, const char *, + int, const char *, va_list) __attribute__((__noreturn__)); +static __dead void __panic(const char *, const char *, const char *, + int, const char *, ...) __attribute__((__noreturn__)); #if defined(__OpenBSD__) || defined(__FreeBSD__) #include <pthread.h> 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; |