diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/ctype/iswalpha.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswblank.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswcntrl.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswprint.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswpunct.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswspace.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/towlower.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/towupper.c | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/newlib/libc/ctype/iswalpha.c b/newlib/libc/ctype/iswalpha.c index 4fed96c8f..97fda7f17 100644 --- a/newlib/libc/ctype/iswalpha.c +++ b/newlib/libc/ctype/iswalpha.c @@ -82,12 +82,12 @@ _DEFUN(iswalpha,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) diff --git a/newlib/libc/ctype/iswblank.c b/newlib/libc/ctype/iswblank.c index 069b73703..8834e954d 100644 --- a/newlib/libc/ctype/iswblank.c +++ b/newlib/libc/ctype/iswblank.c @@ -78,12 +78,12 @@ _DEFUN(iswblank,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) diff --git a/newlib/libc/ctype/iswcntrl.c b/newlib/libc/ctype/iswcntrl.c index 5935431f1..b33af01ee 100644 --- a/newlib/libc/ctype/iswcntrl.c +++ b/newlib/libc/ctype/iswcntrl.c @@ -78,12 +78,12 @@ _DEFUN(iswcntrl,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) diff --git a/newlib/libc/ctype/iswprint.c b/newlib/libc/ctype/iswprint.c index c30938f2e..5acba9cd7 100644 --- a/newlib/libc/ctype/iswprint.c +++ b/newlib/libc/ctype/iswprint.c @@ -82,12 +82,12 @@ _DEFUN(iswprint,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) diff --git a/newlib/libc/ctype/iswpunct.c b/newlib/libc/ctype/iswpunct.c index 3e577d6a6..716fe5f62 100644 --- a/newlib/libc/ctype/iswpunct.c +++ b/newlib/libc/ctype/iswpunct.c @@ -82,12 +82,12 @@ _DEFUN(iswpunct,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) diff --git a/newlib/libc/ctype/iswspace.c b/newlib/libc/ctype/iswspace.c index d8f6b5868..cd3d85a7c 100644 --- a/newlib/libc/ctype/iswspace.c +++ b/newlib/libc/ctype/iswspace.c @@ -78,12 +78,12 @@ _DEFUN(iswspace,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) diff --git a/newlib/libc/ctype/towlower.c b/newlib/libc/ctype/towlower.c index 5520e3720..a0b03b8c5 100644 --- a/newlib/libc/ctype/towlower.c +++ b/newlib/libc/ctype/towlower.c @@ -83,12 +83,12 @@ _DEFUN(towlower,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) diff --git a/newlib/libc/ctype/towupper.c b/newlib/libc/ctype/towupper.c index 8fc2848e5..b14e5aa07 100644 --- a/newlib/libc/ctype/towupper.c +++ b/newlib/libc/ctype/towupper.c @@ -83,12 +83,12 @@ _DEFUN(towupper,(c), wint_t c) } else if (!strcmp (__lc_ctype, "C-SJIS")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_SJIS); unicode = 1; } else if (!strcmp (__lc_ctype, "C-EUCJP")) { - c = __jp2uc (c, JP_JIS); + c = __jp2uc (c, JP_EUCJP); unicode = 1; } else if (!strcmp (__lc_ctype, "C-UTF-8")) |