X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Ftoupper.c;h=2972b51b754550c1b1cd8859df3bf152584671e8;hb=d77b84be585e9ceaed1501579df5a4aec6a24a63;hp=801c8ef55b18321cc5773b2d42bda2ff2561a2f2;hpb=31bc073732a9303dd6f4813f0408cb2b9fcd0add;p=pdclib diff --git a/functions/ctype/toupper.c b/functions/ctype/toupper.c index 801c8ef..2972b51 100644 --- a/functions/ctype/toupper.c +++ b/functions/ctype/toupper.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int toupper( int c ) { - return _PDCLIB_lconv.ctype[c].upper; + return _PDCLIB_threadlocale()->_CType[c].upper; } #endif