-/* $Id$ */
-
/* toupper( int )
This file is part of the Public Domain C Library (PDCLib).
#ifndef REGTEST
+#include <locale.h>
+
int toupper( int c )
{
- return _PDCLIB_locale_info.ctype[c].upper;
+ return _PDCLIB_lconv.ctype[c].upper;
}
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
int main( void )
{
TESTCASE( toupper( '[' ) == '[' );
return TEST_RESULTS;
}
+
#endif