diff options
-rw-r--r-- | libc/sysdeps/linux/common/mremap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/mremap.c b/libc/sysdeps/linux/common/mremap.c index 080d2c1c2..cbd890272 100644 --- a/libc/sysdeps/linux/common/mremap.c +++ b/libc/sysdeps/linux/common/mremap.c @@ -9,10 +9,11 @@ #include "syscalls.h" #include <unistd.h> +#define mremap _hidemremap #include <sys/mman.h> +#undef mremap libc_hidden_proto(mremap) - -_syscall4(__ptr_t, mremap, __ptr_t, old_address, size_t, old_size, size_t, - new_size, int, may_move); +_syscall5(void *, mremap, void *, old_address, size_t, old_size, size_t, + new_size, int, may_move, void *, new_address); libc_hidden_def(mremap) |