about summary refs log tree commit diff
path: root/sysdeps/mach/msync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/msync.c')
-rw-r--r--sysdeps/mach/msync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/msync.c b/sysdeps/mach/msync.c
index 92ce15e639..02651b6d6e 100644
--- a/sysdeps/mach/msync.c
+++ b/sysdeps/mach/msync.c
@@ -33,7 +33,7 @@
    unpredictable before this is done.  */
 
 int
-msync (void *addr, size_t len, int flags)
+__libc_msync (void *addr, size_t len, int flags)
 {
   vm_sync_t sync_flags = 0;
   kern_return_t err;
@@ -53,4 +53,5 @@ msync (void *addr, size_t len, int flags)
     }
   return 0;
 }
+weak_alias (__libc_msync, msync)
 #endif