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