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