summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/msync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/msync.c')
-rw-r--r--libc/sysdeps/linux/common/msync.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/msync.c b/libc/sysdeps/linux/common/msync.c
index 0b33fb659..a0b47f913 100644
--- a/libc/sysdeps/linux/common/msync.c
+++ b/libc/sysdeps/linux/common/msync.c
@@ -14,9 +14,6 @@
#include <sys/mman.h>
-extern __typeof(msync) __libc_msync;
-#define __NR___libc_msync __NR_msync
-_syscall3(int, __libc_msync, void *, addr, size_t, length, int, flags)
-weak_alias(__libc_msync,msync)
+_syscall3(int, msync, void *, addr, size_t, length, int, flags)
#endif