]> pd.if.org Git - pdclib/blobdiff - functions/ctype/iscntrl.c
Whitespace cleanups.
[pdclib] / functions / ctype / iscntrl.c
index 583ccb39243122be8eecb207208dfaf0a9f4dbd6..2f885db7de6cc046e51c33b98631a515389404db 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* iscntrl( int )
 
    This file is part of the Public Domain C Library (PDCLib).
 
 #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
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
 
 int main( void )
 {