X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Ftoupper.c;h=2972b51b754550c1b1cd8859df3bf152584671e8;hb=d1954049a406af2992113a783539aa5d86cfdfa8;hp=00cb203500b5b362a241cff15ece78a4834886cf;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd;p=pdclib.old diff --git a/functions/ctype/toupper.c b/functions/ctype/toupper.c index 00cb203..2972b51 100644 --- a/functions/ctype/toupper.c +++ b/functions/ctype/toupper.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_locale.h> int toupper( int c ) { - return _PDCLIB_locale_info.ctype[c].upper; + return _PDCLIB_threadlocale()->_CType[c].upper; } #endif