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