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