]> pd.if.org Git - pdclib/blobdiff - functions/ctype/isalpha.c
Removed SVN keyword tags.
[pdclib] / functions / ctype / isalpha.c
index 2bde75570f7d4ab5255539f41c8a0a6838af0b15..07e016b3cd8ac47e9847987063ecc63e77ea926d 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* isalpha( 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 isalpha( int c )
 {
-    return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_ALPHA );
+    return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_ALPHA );
 }
 
 #endif