about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/fsync.c')
-rw-r--r--sysdeps/mach/hurd/fsync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/fsync.c b/sysdeps/mach/hurd/fsync.c
index d8ae6e0358..c9cf7c2693 100644
--- a/sysdeps/mach/hurd/fsync.c
+++ b/sysdeps/mach/hurd/fsync.c
@@ -22,7 +22,7 @@
 
 /* Make all changes done to FD actually appear on disk.  */
 int
-fsync (int fd)
+__libc_fsync (int fd)
 {
   error_t err = HURD_DPORT_USE (fd, __file_sync (port, 1, 0));
   if (err)
@@ -35,3 +35,4 @@ fsync (int fd)
     }
   return 0;
 }
+weak_alias (__libc_fsync, fsync)