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