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