X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fctype%2Fislower.c;h=435b3a993ae36f18445d614c320b55c3aeb30723;hp=db0649d1f0f28b754c78278adab855c8c48fec1d;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=31bc073732a9303dd6f4813f0408cb2b9fcd0add diff --git a/functions/ctype/islower.c b/functions/ctype/islower.c index db0649d..435b3a9 100644 --- a/functions/ctype/islower.c +++ b/functions/ctype/islower.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* islower( int ) This file is part of the Public Domain C Library (PDCLib). @@ -9,18 +7,17 @@ #include #ifndef REGTEST - -#include +#include "_PDCLIB_locale.h" int islower( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_LOWER ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_LOWER ); } #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {