summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormillert <>2002-02-16 21:27:50 +0000
committermillert <>2002-02-16 21:27:50 +0000
commit052e020be6be85be6238c44b8386a61f8db7b6a4 (patch)
tree4cf8f905bd37027527533678516a258fa89e2696 /src/lib/libc/stdlib/malloc.c
parentee0af55ed65515812050f3b9a8d431c941b73eb8 (diff)
downloadopenbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.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 'src/lib/libc/stdlib/malloc.c')
-rw-r--r--src/lib/libc/stdlib/malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c
index 6fae6fe565..bca7bb7c4e 100644
--- a/src/lib/libc/stdlib/malloc.c
+++ b/src/lib/libc/stdlib/malloc.c
@@ -8,7 +8,7 @@
8 */ 8 */
9 9
10#if defined(LIBC_SCCS) && !defined(lint) 10#if defined(LIBC_SCCS) && !defined(lint)
11static char rcsid[] = "$OpenBSD: malloc.c,v 1.46 2002/01/23 20:42:24 fgsch Exp $"; 11static char rcsid[] = "$OpenBSD: malloc.c,v 1.47 2002/02/16 21:27:24 millert Exp $";
12#endif /* LIBC_SCCS and not lint */ 12#endif /* LIBC_SCCS and not lint */
13 13
14/* 14/*
@@ -88,7 +88,7 @@ static char rcsid[] = "$OpenBSD: malloc.c,v 1.46 2002/01/23 20:42:24 fgsch Exp $
88 * we use the unwrapped syscall _thread_sys_write() 88 * we use the unwrapped syscall _thread_sys_write()
89 */ 89 */
90# define write _thread_sys_write 90# define write _thread_sys_write
91 ssize_t write __P((int, const void *, size_t)); 91 ssize_t write(int, const void *, size_t);
92# undef malloc 92# undef malloc
93# undef realloc 93# undef realloc
94# undef free 94# undef free
@@ -243,7 +243,7 @@ static int malloc_utrace;
243 243
244struct ut { void *p; size_t s; void *r; }; 244struct ut { void *p; size_t s; void *r; };
245 245
246void utrace __P((struct ut *, int)); 246void utrace(struct ut *, int);
247 247
248#define UTRACE(a, b, c) \ 248#define UTRACE(a, b, c) \
249 if (malloc_utrace) \ 249 if (malloc_utrace) \