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