about summary refs log tree commit diff
path: root/misc/msync.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/msync.c')
-rw-r--r--misc/msync.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/msync.c b/misc/msync.c
index 9785068444..72c876b63d 100644
--- a/misc/msync.c
+++ b/misc/msync.c
@@ -24,10 +24,11 @@
    unpredictable before this is done.  */
 
 int
-msync (void *addr, size_t len, int flags)
+__libc_msync (void *addr, size_t len, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
 }
-
+weak_alias (__libc_msync, msync)
+libc_hidden_weak (msync)
 stub_warning (msync)