about summary refs log tree commit diff
path: root/libio/putc_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/putc_u.c')
-rw-r--r--libio/putc_u.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/putc_u.c b/libio/putc_u.c
index 18bbd491d8..85912e583f 100644
--- a/libio/putc_u.c
+++ b/libio/putc_u.c
@@ -29,3 +29,7 @@ putc_unlocked (c, fp)
   CHECK_FILE (fp, EOF);
   return _IO_putc_unlocked (c, fp);
 }
+
+#ifdef _LIBC_REENTRANT
+weak_alias (putc_unlocked, _IO_putc_unlocked)
+#endif