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