summaryrefslogtreecommitdiff
path: root/src/ctype/ispunct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/ispunct.c')
-rw-r--r--src/ctype/ispunct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/ispunct.c b/src/ctype/ispunct.c
index 12d0cf16..e73461e1 100644
--- a/src/ctype/ispunct.c
+++ b/src/ctype/ispunct.c
@@ -7,7 +7,7 @@
int ispunct(int c)
{
- unsigned int *map = __libc(CTYPE);
+ unsigned int *map = __get_locale()->lc_ctype.ctattr;
ASSERT_REPRESENTABLE(c, 0, UCHAR_MAX, unsigned char, EOF);