From: Bruno Haible Date: Sun, 27 May 2007 23:52:58 +0000 (+0000) Subject: Avoid link error. X-Git-Tag: v0.17~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5429afc65f641c54b827157ff343d7d3bdfeaf3d;p=thirdparty%2Fgettext.git Avoid link error. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index e0e289d43..75aa1dcde 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,10 @@ +2007-05-27 Bruno Haible + + Avoid link error; u16_mbtouc_aux is no longer a public API. + * x-java.c (string_buffer_append): Use u16_mbtouc instead of + u16_mbtouc_aux. + * x-python.c (mixed_string_buffer_append): Likewise. + 2007-05-13 Bruno Haible * write-java.c (mkdir): Remove definition. Now done by gnulib. diff --git a/gettext-tools/src/x-java.c b/gettext-tools/src/x-java.c index 57dcf0a8a..cec1f08b6 100644 --- a/gettext-tools/src/x-java.c +++ b/gettext-tools/src/x-java.c @@ -545,7 +545,7 @@ string_buffer_append (struct string_buffer *bp, int c) utf16buf[0] = bp->utf16_surr; utf16buf[1] = UTF16_VALUE (c); - if (u16_mbtouc_aux (&uc, utf16buf, 2) != 2) + if (u16_mbtouc (&uc, utf16buf, 2) != 2) abort (); string_buffer_append_unicode (bp, uc); diff --git a/gettext-tools/src/x-python.c b/gettext-tools/src/x-python.c index a23b107ea..45915f9b1 100644 --- a/gettext-tools/src/x-python.c +++ b/gettext-tools/src/x-python.c @@ -912,7 +912,7 @@ mixed_string_buffer_append (struct mixed_string_buffer *bp, int c) utf16buf[0] = bp->utf16_surr; utf16buf[1] = UNICODE_VALUE (c); - if (u16_mbtouc_aux (&uc, utf16buf, 2) != 2) + if (u16_mbtouc (&uc, utf16buf, 2) != 2) abort (); mixed_string_buffer_append_unicode (bp, uc);