diff options
author | 2002-02-16 21:27:05 +0000 | |
---|---|---|
committer | 2002-02-16 21:27:05 +0000 | |
commit | c72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch) | |
tree | 1ac67aab11df5f96856c0e3015d691db7dc9e811 /lib/libpthread/uthread | |
parent | default to rsa keyfile path for non key generation operations where (diff) | |
download | wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip |
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 'lib/libpthread/uthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_autoinit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/uthread/uthread_autoinit.c b/lib/libpthread/uthread/uthread_autoinit.c index 43f50a2778e..5753d434c7f 100644 --- a/lib/libpthread/uthread/uthread_autoinit.c +++ b/lib/libpthread/uthread/uthread_autoinit.c @@ -1,7 +1,7 @@ /* * David Leonard, 1998. Public Domain. <david.leonard@csee.uq.edu.au> * - * $OpenBSD: uthread_autoinit.c,v 1.9 2002/01/24 18:39:46 pefo Exp $ + * $OpenBSD: uthread_autoinit.c,v 1.10 2002/02/16 21:27:25 millert Exp $ */ #include <stdio.h> @@ -9,7 +9,7 @@ #include "pthread_private.h" __BEGIN_DECLS -extern void _thread_init __P((void)); +extern void _thread_init(void); __END_DECLS #ifdef DEBUG @@ -36,7 +36,7 @@ Init _thread_initialiser; * The a.out ld.so dynamic linker calls the function * at symbol ".init" if it exists, just after linkage. */ -extern void _thread_dot_init __P((void)) asm(".init"); +extern void _thread_dot_init(void) asm(".init"); void _thread_dot_init() { @@ -53,7 +53,7 @@ _thread_dot_init() * to call it. */ #if defined(__GNUC__) /* && defined(notyet) */ /* internal compiler error??? */ -void _thread_init_constructor __P((void)) __attribute__((constructor)); +void _thread_init_constructor(void) __attribute__((constructor)); void _thread_init_constructor() { |