]> pd.if.org Git - pdclib/blobdiff - functions/ctype/toupper.c
Moved ctype info into struct lconv.
[pdclib] / functions / ctype / toupper.c
index 00cb203500b5b362a241cff15ece78a4834886cf..801c8ef55b18321cc5773b2d42bda2ff2561a2f2 100644 (file)
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int toupper( int c )
 {
-    return _PDCLIB_locale_info.ctype[c].upper;
+    return _PDCLIB_lconv.ctype[c].upper;
 }
 
 #endif