X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fispunct.c;h=886443c704293914b1c62d7f3c5ee6314f33e442;hb=5b64e18a94a184cc73392d563a1f3e0dbd3bdbf8;hp=2859efc32478cc35574d41eebb58ad564ff4e427;hpb=36b77c1eaf2ffddb76ef8ed2e6acd046682875c7;p=pdclib diff --git a/functions/ctype/ispunct.c b/functions/ctype/ispunct.c index 2859efc..886443c 100644 --- a/functions/ctype/ispunct.c +++ b/functions/ctype/ispunct.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* ispunct( int ) This file is part of the Public Domain C Library (PDCLib). @@ -9,10 +7,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_locale.h> int ispunct( int c ) { - return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_PUNCT ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_PUNCT ); } #endif