]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isblank.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / ctype / isblank.c
index cc29fa849048df2b19588b797efc92bc60e6b6bb..50d5663c18251c1072d96f1643a5380b3cdc71a4 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* isblank( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,18 +7,17 @@
 #include <ctype.h>
 
 #ifndef REGTEST
-
-#include <locale.h>
+#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
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {