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