summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/mremap.c')
-rw-r--r--libc/sysdeps/linux/common/mremap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/mremap.c b/libc/sysdeps/linux/common/mremap.c
index f4a4670d2..16359193b 100644
--- a/libc/sysdeps/linux/common/mremap.c
+++ b/libc/sysdeps/linux/common/mremap.c
@@ -10,7 +10,7 @@
#include "syscalls.h"
#include <unistd.h>
#include <sys/mman.h>
-#define __NR___mremap __NR_mremap
-attribute_hidden _syscall4(__ptr_t, __mremap, __ptr_t, old_address, size_t, old_size, size_t,
+_syscall4(__ptr_t, mremap, __ptr_t, old_address, size_t, old_size, size_t,
new_size, int, may_move);
-strong_alias(__mremap,mremap)
+libc_hidden_proto(mremap)
+libc_hidden_def(mremap)