]> pd.if.org Git - pdclib/blobdiff - functions/ctype/iscntrl.c
Moved ctype info into struct lconv.
[pdclib] / functions / ctype / iscntrl.c
index 583ccb39243122be8eecb207208dfaf0a9f4dbd6..8c0a4f3164ef6a536d86802b6fae841e9b567e62 100644 (file)
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int iscntrl( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_CNTRL );
+    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_CNTRL );
 }
 
 #endif