]> pd.if.org Git - pdclib/blobdiff - functions/ctype/islower.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / ctype / islower.c
index db0649d1f0f28b754c78278adab855c8c48fec1d..435b3a993ae36f18445d614c320b55c3aeb30723 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* islower( 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 islower( int c )
 {
-    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_LOWER );
+    return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_LOWER );
 }
 
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {