X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fisblank.c;h=883c0d85971d82f82b17f2605534ee0bb510aa7f;hb=a9938cd46aee465e7476ab3aac773b925fc00ed4;hp=cc29fa849048df2b19588b797efc92bc60e6b6bb;hpb=31bc073732a9303dd6f4813f0408cb2b9fcd0add;p=pdclib diff --git a/functions/ctype/isblank.c b/functions/ctype/isblank.c index cc29fa8..883c0d8 100644 --- a/functions/ctype/isblank.c +++ b/functions/ctype/isblank.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* isblank( int ) This file is part of the Public Domain C Library (PDCLib). @@ -9,12 +7,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int isblank( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_BLANK ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_BLANK ); } #endif