Add hidden alias for fflush.

This commit is contained in:
Andreas Schwab 2009-09-01 15:31:09 -07:00 committed by Ulrich Drepper
parent 240441038f
commit 5182cbc5ab
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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> 2009-09-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/x86_64/fpu/bits/mathinline.h: Include bits/wordsize.h. * sysdeps/x86_64/fpu/bits/mathinline.h: Include bits/wordsize.h.

View File

@ -148,6 +148,7 @@ libc_hidden_proto (fileno)
libc_hidden_proto (fwrite) libc_hidden_proto (fwrite)
libc_hidden_proto (fseek) libc_hidden_proto (fseek)
libc_hidden_proto (ftello) libc_hidden_proto (ftello)
libc_hidden_proto (fflush)
libc_hidden_proto (fflush_unlocked) libc_hidden_proto (fflush_unlocked)
libc_hidden_proto (fread_unlocked) libc_hidden_proto (fread_unlocked)
libc_hidden_proto (fwrite_unlocked) libc_hidden_proto (fwrite_unlocked)

View File

@ -49,6 +49,7 @@ INTDEF(_IO_fflush)
#ifdef weak_alias #ifdef weak_alias
weak_alias (_IO_fflush, fflush) weak_alias (_IO_fflush, fflush)
libc_hidden_weak (fflush)
#ifndef _IO_MTSAFE_IO #ifndef _IO_MTSAFE_IO
weak_alias (_IO_fflush, fflush_unlocked) weak_alias (_IO_fflush, fflush_unlocked)