]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isblank.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / ctype / isblank.c
index 0ad1ca1ab039bda704221e879dc61689be8b9295..50d5663c18251c1072d96f1643a5380b3cdc71a4 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* isblank( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,16 +7,17 @@
 #include <ctype.h>
 
 #ifndef REGTEST
+#include "_PDCLIB_locale.h"
 
 int isblank( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_BLANK );
+    return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_BLANK );
 }
 
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {