about summary refs log tree commit diff
path: root/libio/fputc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/fputc.c')
-rw-r--r--libio/fputc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/fputc.c b/libio/fputc.c
index 3ec8b693e9..4684af03e4 100644
--- a/libio/fputc.c
+++ b/libio/fputc.c
@@ -40,3 +40,8 @@ fputc (c, fp)
   _IO_cleanup_region_end (0);
   return result;
 }
+
+#if defined weak_alias && !defined _IO_MTSAFE_IO
+#undef fputc_unlocked
+weak_alias (fputc, fputc_unlocked)
+#endif