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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/isupper.c b/src/ctype/isupper.c
index ff07ff59..e0eb545e 100644
--- a/src/ctype/isupper.c
+++ b/src/ctype/isupper.c
@@ -7,7 +7,7 @@
int isupper(int c)
{
- unsigned int *map = __libc(CTYPE);
+ unsigned int *map = __get_locale()->lc_ctype.ctattr;
ASSERT_REPRESENTABLE(c, 0, UCHAR_MAX, unsigned char, EOF);