summaryrefslogtreecommitdiff
path: root/src/ctype/isblank.c
diff options
context:
space:
mode:
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);