From e17c0a23e32e35d037e75e21389c485c4fded87d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 2 Jun 2009 09:41:06 +0000 Subject: * libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__. (__jp2uc): Change the scope to static function. * libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__. * libc/string/local.h (_jp2uc): Include ../ctype/local.h. --- newlib/libc/string/local.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'newlib/libc/string') diff --git a/newlib/libc/string/local.h b/newlib/libc/string/local.h index 5b3699d..3fdbfa3 100644 --- a/newlib/libc/string/local.h +++ b/newlib/libc/string/local.h @@ -1,7 +1,5 @@ #include <_ansi.h> - -/* internal function to translate JP to Unicode */ -wint_t _EXFUN (_jp2uc, (wint_t)); +#include <../ctype/local.h> /* internal function to compute width of wide char. */ int _EXFUN (__wcwidth, (wint_t)); -- cgit v1.1