summaryrefslogtreecommitdiff
path: root/src/ctype/isprint.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-12 20:12:41 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-12 20:12:41 -0400
commit0b5079b8723804889f06c6ddbeef8a45c00d7b49 (patch)
treed76b603c190b7e04529bff99e8085718b4c0a9a8 /src/ctype/isprint.c
parent0f2704eb90ef2590c75633dc7eb695a63cf2ddf8 (diff)
finish purging nonstd/
Diffstat (limited to 'src/ctype/isprint.c')
-rw-r--r--src/ctype/isprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/isprint.c b/src/ctype/isprint.c
index c3deaebd..e4b5a531 100644
--- a/src/ctype/isprint.c
+++ b/src/ctype/isprint.c
@@ -7,7 +7,7 @@
int isprint(int c)
{
- unsigned int *map = __libc(CTYPE);
+ unsigned int *map = __get_locale()->lc_ctype.ctattr;
ASSERT_REPRESENTABLE(c, 0, UCHAR_MAX, unsigned char, EOF);