X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Ftoupper.c;h=2972b51b754550c1b1cd8859df3bf152584671e8;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hp=801c8ef55b18321cc5773b2d42bda2ff2561a2f2;hpb=e883af7e93561cd536df68eaf837f523e3d2594b;p=pdclib.old 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