]> pd.if.org Git - pdclib/blobdiff - functions/ctype/ispunct.c
Comment cleanups.
[pdclib] / functions / ctype / ispunct.c
index 2859efc32478cc35574d41eebb58ad564ff4e427..39fa59a35ef44dbe64de7614dd45de57efd8442a 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* ispunct( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -10,9 +8,11 @@
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int ispunct( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_PUNCT );
+    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_PUNCT );
 }
 
 #endif