]> pd.if.org Git - pdclib/blobdiff - functions/ctype/ispunct.c
Removed SVN keyword tags.
[pdclib] / functions / ctype / ispunct.c
index 4dfd52a7c749191d8fe339453829f0e1cab0d921..886443c704293914b1c62d7f3c5ee6314f33e442 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* ispunct( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,12 +7,11 @@
 #include <ctype.h>
 
 #ifndef REGTEST
-
-#include <locale.h>
+#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