summary refs log tree commit diff
path: root/libio/clearerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/clearerr.c')
-rw-r--r--libio/clearerr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/clearerr.c b/libio/clearerr.c
index 4776250ff8..3831c1cdae 100644
--- a/libio/clearerr.c
+++ b/libio/clearerr.c
@@ -28,3 +28,7 @@ clearerr (fp)
   _IO_clearerr (fp);
   _IO_funlockfile (fp);
 }
+
+#if defined weak_alias && !defined _IO_MTSAFE_IO
+weak_alias (clearerr, clearerr_unlocked)
+#endif