summaryrefslogtreecommitdiff
path: root/src/ctype/isupper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/isupper.c')
-rw-r--r--src/ctype/isupper.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctype/isupper.c b/src/ctype/isupper.c
index f09d88c5..68c36f4a 100644
--- a/src/ctype/isupper.c
+++ b/src/ctype/isupper.c
@@ -1,7 +1,15 @@
#include <ctype.h>
+#include "libc.h"
#undef isupper
int isupper(int c)
{
return (unsigned)c-'A' < 26;
}
+
+int __isupper_l(int c, locale_t l)
+{
+ return isupper(c);
+}
+
+weak_alias(__isupper_l, isupper_l);