Skip to content

Commit

Permalink
Add hidden alias for fflush.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab authored and Ulrich Drepper committed Sep 1, 2009
1 parent 2404410 commit 5182cbc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions include/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions libio/iofflush.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5182cbc

Please sign in to comment.