diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-06-02 09:41:06 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-06-02 09:41:06 +0000 |
commit | e17c0a23e32e35d037e75e21389c485c4fded87d (patch) | |
tree | 83729070978e05b1783eba0b0afc7febae73c811 /newlib/libc/string | |
parent | 6f15a1a0f54cd7d5739f91a70e9f2543172b8d10 (diff) | |
download | newlib-e17c0a23e32e35d037e75e21389c485c4fded87d.zip newlib-e17c0a23e32e35d037e75e21389c485c4fded87d.tar.gz newlib-e17c0a23e32e35d037e75e21389c485c4fded87d.tar.bz2 |
* 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.
Diffstat (limited to 'newlib/libc/string')
-rw-r--r-- | newlib/libc/string/local.h | 4 |
1 files changed, 1 insertions, 3 deletions
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)); |