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