]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isprint.c
Moved ctype info into struct lconv.
[pdclib] / functions / ctype / isprint.c
index f057e002e4d53ae41706949ae259c214002358d4..50b0ad85192d34530056a4d17ff81626e7c296ff 100644 (file)
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int isprint( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
+    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
 }
 
 #endif