]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isdigit.c
Removed SVN keyword tags.
[pdclib] / functions / ctype / isdigit.c
index eeeffb874993b3c86204d5e0567870cf3c281235..762580af39edd707715c9cab7f83935798ee3f61 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* isdigit( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,10 +7,11 @@
 #include <ctype.h>
 
 #ifndef REGTEST
+#include <_PDCLIB_locale.h>
 
 int isdigit( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_DIGIT );
+    return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_DIGIT );
 }
 
 #endif