summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-02-03 03:58:06 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-02-03 03:58:06 +0000
commit156a7f64e33b47f553ec9bfddbfd42b0fa2ed65f (patch)
tree7790d4eee864dcac3f35a2af577d5463d0ed3188
parent997d36e5d67c6a6d289336c771da9a48aa091553 (diff)
wrong ret type for write define (millert@)
-rw-r--r--lib/libc/stdlib/malloc.c4
1 files changed, 2 insertions, 2 deletions
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