about summary refs log tree commit diff
path: root/libio/iofflush_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofflush_u.c')
-rw-r--r--libio/iofflush_u.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libio/iofflush_u.c b/libio/iofflush_u.c
index 6cc325a5b3..e00447991d 100644
--- a/libio/iofflush_u.c
+++ b/libio/iofflush_u.c
@@ -28,7 +28,7 @@
 #include <stdio.h>
 
 int
-fflush_unlocked (fp)
+__fflush_unlocked (fp)
      _IO_FILE *fp;
 {
   if (fp == NULL)
@@ -39,4 +39,6 @@ fflush_unlocked (fp)
       return _IO_SYNC (fp) ? EOF : 0;
     }
 }
-libc_hidden_def (fflush_unlocked)
+libc_hidden_def (__fflush_unlocked)
+weak_alias (__fflush_unlocked, fflush_unlocked)
+libc_hidden_weak (fflush_unlocked)