summaryrefslogtreecommitdiff
path: root/src/ctype/isblank.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/isblank.c
parent0f2704eb90ef2590c75633dc7eb695a63cf2ddf8 (diff)
finish purging nonstd/
Diffstat (limited to 'src/ctype/isblank.c')
-rw-r--r--src/ctype/isblank.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ctype/isblank.c b/src/ctype/isblank.c
index d22d2315..b71b0faa 100644
--- a/src/ctype/isblank.c
+++ b/src/ctype/isblank.c
@@ -2,13 +2,12 @@
#include "limits.h"
#include "locale.h"
#include "_ctype.h"
-#include "../_assert.h"
/** test whether a character is blank **/
int isblank(int c)
{
- unsigned int *map = __libc(CTYPE);
+ unsigned int *map = __get_locale()->lc_ctype.ctattr;
ASSERT_REPRESENTABLE(c, 0, UCHAR_MAX, "unsigned char", EOF);