aboutsummaryrefslogtreecommitdiff
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 4776250..3831c1c 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