From: Andreas Schwab Date: Tue, 1 Sep 2009 22:31:09 +0000 (-0700) Subject: Add hidden alias for fflush. X-Git-Tag: glibc-2.11~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5182cbc5ab6e2bc294e14dae22fb3a8553713a41;p=platform%2Fupstream%2Fglibc.git Add hidden alias for fflush. --- diff --git a/ChangeLog b/ChangeLog index b4e6966..2f7f799 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ +2009-09-01 Andreas Schwab + + * include/stdio.h: Declare hidden proto for fflush. + * libio/iofflush.c: Add hidden weak alias for fflush. + 2009-09-01 Jakub Jelinek * 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 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm. diff --git a/include/stdio.h b/include/stdio.h index a8aab92..444aa39 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -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) diff --git a/libio/iofflush.c b/libio/iofflush.c index d2d57f5..3294276 100644 --- a/libio/iofflush.c +++ b/libio/iofflush.c @@ -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)