summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-14 21:24:39 +0000
committerderaadt <deraadt@openbsd.org>1997-11-14 21:24:39 +0000
commitedd51d2cd67b602356fb527b1a7f97900251eba3 (patch)
tree282837cc7f605275c4de7895f1fce7a890f1b9e5
parentvoid * change to mmap() (diff)
downloadwireguard-openbsd-edd51d2cd67b602356fb527b1a7f97900251eba3.tar.xz
wireguard-openbsd-edd51d2cd67b602356fb527b1a7f97900251eba3.zip
mmap() now takes void *
-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;