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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/mremap.c b/libc/sysdeps/linux/common/mremap.c
index 200c2e1ef..f4a4670d2 100644
--- a/libc/sysdeps/linux/common/mremap.c
+++ b/libc/sysdeps/linux/common/mremap.c
@@ -10,5 +10,7 @@
#include "syscalls.h"
#include <unistd.h>
#include <sys/mman.h>
-_syscall4(__ptr_t, mremap, __ptr_t, old_address, size_t, old_size, size_t,
+#define __NR___mremap __NR_mremap
+attribute_hidden _syscall4(__ptr_t, __mremap, __ptr_t, old_address, size_t, old_size, size_t,
new_size, int, may_move);
+strong_alias(__mremap,mremap)