Add hidden alias for fflush.
authorAndreas Schwab <schwab@redhat.com>
Tue, 1 Sep 2009 22:31:09 +0000 (15:31 -0700)
committerUlrich Drepper <drepper@redhat.com>
Tue, 1 Sep 2009 22:31:09 +0000 (15:31 -0700)
ChangeLog
include/stdio.h
libio/iofflush.c

index b4e6966..2f7f799 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,13 @@
+2009-09-01  Andreas Schwab  <schwab@redhat.com>
+
+       * include/stdio.h: Declare hidden proto for fflush.
+       * libio/iofflush.c: Add hidden weak alias for fflush.
+
 2009-09-01  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/x86_64/fpu/bits/mathinline.h: Include bits/wordsize.h.
        (__signbitf, __signbit): Only use SSE inline asm for 64-bit.
-               
+
 2009-08-31  Andreas Schwab  <schwab@redhat.com>
 
        * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
index a8aab92..444aa39 100644 (file)
@@ -148,6 +148,7 @@ libc_hidden_proto (fileno)
 libc_hidden_proto (fwrite)
 libc_hidden_proto (fseek)
 libc_hidden_proto (ftello)
+libc_hidden_proto (fflush)
 libc_hidden_proto (fflush_unlocked)
 libc_hidden_proto (fread_unlocked)
 libc_hidden_proto (fwrite_unlocked)
index d2d57f5..3294276 100644 (file)
@@ -49,6 +49,7 @@ INTDEF(_IO_fflush)
 
 #ifdef weak_alias
 weak_alias (_IO_fflush, fflush)
+libc_hidden_weak (fflush)
 
 #ifndef _IO_MTSAFE_IO
 weak_alias (_IO_fflush, fflush_unlocked)