remove redefinition of MB_CUR_MAX in locale_impl.h
[musl] / src / ctype / tolower.c
index b56f3c5..362d6b2 100644 (file)
@@ -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);