summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-14 21:24:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-14 21:24:40 +0000
commitd69698378d95d9de3001bfde1ff339cc320cc4f1 (patch)
tree603db20459454441f27e10dd5777e7dfe454cd41 /lib
parent52057270fc08cb6f7dd09ed3c013c444c09023b5 (diff)
mmap() now takes void *
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/mmap.c b/lib/libc/sys/mmap.c
index 1fde851f01e..f0b41ee9ea6 100644
--- a/lib/libc/sys/mmap.c
+++ b/lib/libc/sys/mmap.c
@@ -32,7 +32,7 @@
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: mmap.c,v 1.6 1997/04/26 08:50:12 tholo Exp $";
+static char rcsid[] = "$OpenBSD: mmap.c,v 1.7 1997/11/14 21:24:39 deraadt Exp $";
#endif /* SYSLIBC_SCCS and not lint */
#include <sys/types.h>
@@ -49,7 +49,7 @@ quad_t __syscall(quad_t, ...);
*/
caddr_t
mmap(addr, len, prot, flags, fd, offset)
- caddr_t addr;
+ void *addr;
size_t len;
int prot;
int flags;