summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/munmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/munmap.c')
-rw-r--r--libc/sysdeps/linux/common/munmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/munmap.c b/libc/sysdeps/linux/common/munmap.c
index ff94f2235..be631060a 100644
--- a/libc/sysdeps/linux/common/munmap.c
+++ b/libc/sysdeps/linux/common/munmap.c
@@ -10,4 +10,6 @@
#include "syscalls.h"
#include <unistd.h>
#include <sys/mman.h>
-_syscall2(int, munmap, void *, start, size_t, length);
+#define __NR___munmap __NR_munmap
+attribute_hidden _syscall2(int, __munmap, void *, start, size_t, length);
+strong_alias(__munmap,munmap)