about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/err.h2
-rw-r--r--misc/mmap.c4
-rw-r--r--misc/mmap64.c4
-rw-r--r--misc/mprotect.c2
-rw-r--r--misc/msync.c2
-rw-r--r--misc/munmap.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/misc/err.h b/misc/err.h
index d893a25eac..ea12845e98 100644
--- a/misc/err.h
+++ b/misc/err.h
@@ -24,7 +24,7 @@
 #define	__need___va_list
 #include <stdarg.h>
 #ifndef	__GNUC_VA_LIST
-# define __gnuc_va_list	__ptr_t
+# define __gnuc_va_list	void *
 #endif
 
 __BEGIN_DECLS
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;
diff --git a/misc/mmap64.c b/misc/mmap64.c
index 845b847587..ccd286431f 100644
--- a/misc/mmap64.c
+++ b/misc/mmap64.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
-__mmap64 (__ptr_t addr, size_t len, int prot, int flags, int fd,
+void *
+__mmap64 (void *addr, size_t len, int prot, int flags, int fd,
 	  __off64_t offset)
 {
   off_t small_offset = (off_t) offset;
diff --git a/misc/mprotect.c b/misc/mprotect.c
index 271106426c..91611239c2 100644
--- a/misc/mprotect.c
+++ b/misc/mprotect.c
@@ -24,7 +24,7 @@
    (and sets errno).  */
 
 int
-__mprotect (__ptr_t addr, size_t len, int prot)
+__mprotect (void *addr, size_t len, int prot)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/misc/msync.c b/misc/msync.c
index 361185e83d..4f79c0215e 100644
--- a/misc/msync.c
+++ b/misc/msync.c
@@ -24,7 +24,7 @@
    unpredictable before this is done.  */
 
 int
-msync (__ptr_t addr, size_t len, int flags)
+msync (void *addr, size_t len, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/misc/munmap.c b/misc/munmap.c
index b3ba789d3b..525c8d7cb9 100644
--- a/misc/munmap.c
+++ b/misc/munmap.c
@@ -23,7 +23,7 @@
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
 
 int
-__munmap (__ptr_t addr, size_t len)
+__munmap (void *addr, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;