fix TCS* definitions in mips termios.h
[musl] / src / ctype / isdigit.c
index 0bc82a6..4d8a103 100644 (file)
@@ -1,7 +1,15 @@
 #include <ctype.h>
+#include "libc.h"
 #undef isdigit
 
 int isdigit(int c)
 {
        return (unsigned)c-'0' < 10;
 }
+
+int __isdigit_l(int c, locale_t l)
+{
+       return isdigit(c);
+}
+
+weak_alias(__isdigit_l, isdigit_l);