about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/iofflush.c1
-rw-r--r--libio/iofwrite.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libio/iofflush.c b/libio/iofflush.c
index 6f12e9b79a..d1a76ccd4e 100644
--- a/libio/iofflush.c
+++ b/libio/iofflush.c
@@ -53,5 +53,6 @@ weak_alias (_IO_fflush, fflush)
 
 #ifndef _IO_MTSAFE_IO
 weak_alias (_IO_fflush, fflush_unlocked)
+libc_hidden_weak (fflush_unlocked)
 #endif
 #endif
diff --git a/libio/iofwrite.c b/libio/iofwrite.c
index 47c166cf22..67ed6a1f12 100644
--- a/libio/iofwrite.c
+++ b/libio/iofwrite.c
@@ -58,5 +58,6 @@ weak_alias (_IO_fwrite, fwrite)
 libc_hidden_weak (fwrite)
 # ifndef _IO_MTSAFE_IO
 weak_alias (_IO_fwrite, fwrite_unlocked)
+libc_hidden_weak (fwrite_unlocked)
 # endif
 #endif