summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/mmap.c')
-rw-r--r--libc/sysdeps/linux/mips/mmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/mmap.c b/libc/sysdeps/linux/mips/mmap.c
index c6af2efd2..25a3ef5bd 100644
--- a/libc/sysdeps/linux/mips/mmap.c
+++ b/libc/sysdeps/linux/mips/mmap.c
@@ -14,5 +14,7 @@
#endif
#endif
-_syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
+#define __NR___mmap __NR_mmap
+attribute_hidden _syscall6 (__ptr_t, __mmap, __ptr_t, addr, size_t, len, int, prot,
int, flags, int, fd, __off_t, offset);
+strong_alias(__mmap,mmap)