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