]> pd.if.org Git - pdclib/blobdiff - functions/ctype/iscntrl.c
Removed SVN keyword tags.
[pdclib] / functions / ctype / iscntrl.c
index 583ccb39243122be8eecb207208dfaf0a9f4dbd6..f39cf4a8cec3dcb5b2d0a69250f374d506c472e6 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* iscntrl( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,10 +7,11 @@
 #include <ctype.h>
 
 #ifndef REGTEST
+#include <_PDCLIB_locale.h>
 
 int iscntrl( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_CNTRL );
+    return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_CNTRL );
 }
 
 #endif