From 156a7f64e33b47f553ec9bfddbfd42b0fa2ed65f Mon Sep 17 00:00:00 2001 From: David Leonard Date: Wed, 3 Feb 1999 03:58:06 +0000 Subject: wrong ret type for write define (millert@) --- lib/libc/stdlib/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdlib') diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 55d00e50722..e75c7cdb097 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.34 1999/02/01 07:58:30 d Exp $"; +static char rcsid[] = "$OpenBSD: malloc.c,v 1.35 1999/02/03 03:58:05 d Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -107,7 +107,7 @@ static char rcsid[] = "$OpenBSD: malloc.c,v 1.34 1999/02/01 07:58:30 d Exp $"; * we use the unwrapped syscall _thread_sys_write() */ # define write _thread_sys_write - int write __P((int, const void *, size_t)); + ssize_t write __P((int, const void *, size_t)); # undef malloc # undef realloc # undef free -- cgit v1.2.3