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