about summary refs log tree commit diff
path: root/misc/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mmap.c')
-rw-r--r--misc/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/mmap.c b/misc/mmap.c
index 4172d76ef6..2c4ed3e93c 100644
--- a/misc/mmap.c
+++ b/misc/mmap.c
@@ -28,8 +28,8 @@
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-__ptr_t
-__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
+void *
+__mmap (void *addr, size_t len, int prot, int flags, int fd, off_t offset)
 {
   __set_errno (ENOSYS);
   return MAP_FAILED;