diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-29 07:32:44 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-29 07:32:44 +0000 |
commit | 15a2315cb457be0599d7a662e64aa54e560f96f0 (patch) | |
tree | 0e9915fb5d494269e1637674e5a78368d0700f81 /iconvdata/cns11643l1.h | |
parent | 6d110ca1858feba75e4b5528d7941770c59d6b5d (diff) | |
download | glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.tar.gz glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.tar.xz glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.zip |
Update.
* iconvdata/Makefile (modules): Add ISO-2022-CN. Add link rules for this module. (distribute): Add iso-2022-cn.c and cns11643l2.h. * iconvdata/cns11643l2.h: New file. * iconvdata/iso-2022-cn.c: New file. * iconvdata/gconv-modules: Add entries for ISO-2022-CN module. * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument unsigned. (ucs4_to_cns11643l1): Likewise. * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4. * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion loop to UCS4. Optimize recognition of escape sequences a bit.
Diffstat (limited to 'iconvdata/cns11643l1.h')
-rw-r--r-- | iconvdata/cns11643l1.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iconvdata/cns11643l1.h b/iconvdata/cns11643l1.h index 3e0d042fa1..1aa5918f91 100644 --- a/iconvdata/cns11643l1.h +++ b/iconvdata/cns11643l1.h @@ -26,7 +26,8 @@ extern const uint16_t __cns11643l1_to_ucs4_tab[]; static inline uint32_t -cns11643l1_to_ucs4 (const char **s, size_t avail, unsigned char offset) +cns11643l1_to_ucs4 (const unsigned char **s, size_t avail, + unsigned char offset) { unsigned char ch = *(*s); unsigned char ch2; @@ -70,7 +71,7 @@ extern const char __cns11643l1_from_ucs4_tab14[][2]; static inline size_t -ucs4_to_cns11643l1 (uint32_t wch, char *s, size_t avail) +ucs4_to_cns11643l1 (uint32_t wch, unsigned char *s, size_t avail) { unsigned int ch = (unsigned int) wch; char buf[2]; |