about summary refs log tree commit diff
path: root/src/ctype/isdigit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/isdigit.c')
-rw-r--r--src/ctype/isdigit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctype/isdigit.c b/src/ctype/isdigit.c
index 0bc82a6d..4d8a103e 100644
--- a/src/ctype/isdigit.c
+++ b/src/ctype/isdigit.c
@@ -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);