remove redefinition of MB_CUR_MAX in locale_impl.h
[musl] / src / ctype / toupper.c
index 1799f03..bbf4e06 100644 (file)
@@ -1,7 +1,15 @@
 #include <ctype.h>
+#include "libc.h"
 
 int toupper(int c)
 {
        if (islower(c)) return c & 0x5f;
        return c;
 }
+
+int __toupper_l(int c, locale_t l)
+{
+       return toupper(c);
+}
+
+weak_alias(__toupper_l, toupper_l);