about summary refs log tree commit diff
path: root/misc/fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fsync.c')
-rw-r--r--misc/fsync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/fsync.c b/misc/fsync.c
index e52be4cc6a..8eada612ef 100644
--- a/misc/fsync.c
+++ b/misc/fsync.c
@@ -20,11 +20,11 @@
 
 /* Make all changes done to FD actually appear on disk.  */
 int
-fsync (int fd)
+__libc_fsync (int fd)
 {
   __set_errno (ENOSYS);
   return -1;
 }
-
-
+weak_alias (__libc_fsync, fsync)
+libc_hidden_weak (fsync)
 stub_warning (fsync)