X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fispunct.c;fp=functions%2Fctype%2Fispunct.c;h=6c067889f5350394a80650a0e2288fc27102f457;hb=d77b84be585e9ceaed1501579df5a4aec6a24a63;hp=4dfd52a7c749191d8fe339453829f0e1cab0d921;hpb=540e01a59a43ba091b3b221bf00f1ee7df8cdf1f;p=pdclib diff --git a/functions/ctype/ispunct.c b/functions/ctype/ispunct.c index 4dfd52a..6c06788 100644 --- a/functions/ctype/ispunct.c +++ b/functions/ctype/ispunct.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int ispunct( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_PUNCT ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_PUNCT ); } #endif