about summary refs log tree commit diff
path: root/src/ctype/tolower.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/tolower.c')
-rw-r--r--src/ctype/tolower.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctype/tolower.c b/src/ctype/tolower.c
index b56f3c50..362d6b2b 100644
--- a/src/ctype/tolower.c
+++ b/src/ctype/tolower.c
@@ -1,7 +1,15 @@
 #include <ctype.h>
+#include "libc.h"
 
 int tolower(int c)
 {
 	if (isupper(c)) return c | 32;
 	return c;
 }
+
+int __tolower_l(int c, locale_t l)
+{
+	return tolower(c);
+}
+
+weak_alias(__tolower_l, tolower_l);