summary refs log tree commit diff
path: root/stdio-common/fprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/fprintf.c')
-rw-r--r--stdio-common/fprintf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/stdio-common/fprintf.c b/stdio-common/fprintf.c
index 969f338f48..fd6d20d11c 100644
--- a/stdio-common/fprintf.c
+++ b/stdio-common/fprintf.c
@@ -34,3 +34,10 @@ fprintf (FILE *stream, const char *format, ...)
 
   return done;
 }
+
+#ifdef USE_IN_LIBIO
+/* We define the function with the real name here.  But deep down in
+   libio the original function _IO_fprintf is also needed.  So make
+   an alias.  */
+weak_alias (fprintf, _IO_fprintf)
+#endif