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