]> pd.if.org Git - pdclib/blobdiff - functions/ctype/tolower.c
Moved ctype info into struct lconv.
[pdclib] / functions / ctype / tolower.c
index 530abf2a9e6bfcf7a94e69b3b3f8f243d53ebe1a..d051ba5c67e7ce257c3409f58ede8785b1d77644 100644 (file)
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int tolower( int c )
 {
-    return _PDCLIB_locale_info.ctype[c].lower;
+    return _PDCLIB_lconv.ctype[c].lower;
 }
 
 #endif