diff options
author | 2002-02-16 21:27:05 +0000 | |
---|---|---|
committer | 2002-02-16 21:27:05 +0000 | |
commit | c72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch) | |
tree | 1ac67aab11df5f96856c0e3015d691db7dc9e811 /lib/libc/stdlib/malloc.c | |
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/libc/stdlib/malloc.c')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 6fae6fe5651..bca7bb7c4e1 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -8,7 +8,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: malloc.c,v 1.46 2002/01/23 20:42:24 fgsch Exp $"; +static char rcsid[] = "$OpenBSD: malloc.c,v 1.47 2002/02/16 21:27:24 millert Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -88,7 +88,7 @@ static char rcsid[] = "$OpenBSD: malloc.c,v 1.46 2002/01/23 20:42:24 fgsch Exp $ * we use the unwrapped syscall _thread_sys_write() */ # define write _thread_sys_write - ssize_t write __P((int, const void *, size_t)); + ssize_t write(int, const void *, size_t); # undef malloc # undef realloc # undef free @@ -243,7 +243,7 @@ static int malloc_utrace; struct ut { void *p; size_t s; void *r; }; -void utrace __P((struct ut *, int)); +void utrace(struct ut *, int); #define UTRACE(a, b, c) \ if (malloc_utrace) \ |