]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isprint.c
Whitespace cleanups.
[pdclib] / functions / ctype / isprint.c
index f057e002e4d53ae41706949ae259c214002358d4..6a7a2542404d872880275841c2734778700e8d95 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* isprint( int )
 
    This file is part of the Public Domain C Library (PDCLib).
 
 #ifndef REGTEST
 
+#include <locale.h>
+
 int isprint( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
+    return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_GRAPH ) || ( c == ' ' );
 }
 
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
 
 int main( void )
 {