@@ -52,7 +52,7 @@ BUILTIN_TRANSFORMATION ("INTERNAL", "ISO-10646/UTF8/", 1, "=INTERNAL->utf8",
__gconv_transform_internal_utf8, NULL, 4, 4, 1, 6)
BUILTIN_TRANSFORMATION ("ISO-10646/UTF8/", "INTERNAL", 1, "=utf8->INTERNAL",
- __gconv_transform_utf8_internal, __gconv_btwoc_ascii,
+ __gconv_transform_utf8_internal, __gconv_btowc_ascii,
1, 6, 4, 4)
BUILTIN_ALIAS ("UCS2//", "ISO-10646/UCS2/")
@@ -82,7 +82,7 @@ BUILTIN_ALIAS ("CSASCII//", "ANSI_X3.4-1968//")
BUILTIN_ALIAS ("OSF00010020//", "ANSI_X3.4-1968//")
BUILTIN_TRANSFORMATION ("ANSI_X3.4-1968//", "INTERNAL", 1, "=ascii->INTERNAL",
- __gconv_transform_ascii_internal, __gconv_btwoc_ascii,
+ __gconv_transform_ascii_internal, __gconv_btowc_ascii,
1, 1, 4, 4)
BUILTIN_TRANSFORMATION ("INTERNAL", "ANSI_X3.4-1968//", 1, "=INTERNAL->ascii",
@@ -325,7 +325,7 @@ __BUILTIN_TRANSFORM (__gconv_transform_utf16_internal);
/* Specialized conversion function for a single byte to INTERNAL, recognizing
only ASCII characters. */
-extern wint_t __gconv_btwoc_ascii (struct __gconv_step *step, unsigned char c);
+extern wint_t __gconv_btowc_ascii (struct __gconv_step *step, unsigned char c);
#endif
@@ -45,7 +45,7 @@
/* Specialized conversion function for a single byte to INTERNAL, recognizing
only ASCII characters. */
wint_t
-__gconv_btwoc_ascii (struct __gconv_step *step, unsigned char c)
+__gconv_btowc_ascii (struct __gconv_step *step, unsigned char c)
{
if (c < 0x80)
return c;
@@ -36,7 +36,7 @@ static const struct __gconv_step to_wc =
.__from_name = (char *) "ANSI_X3.4-1968//TRANSLIT",
.__to_name = (char *) "INTERNAL",
.__fct = __gconv_transform_ascii_internal,
- .__btowc_fct = __gconv_btwoc_ascii,
+ .__btowc_fct = __gconv_btowc_ascii,
.__init_fct = NULL,
.__end_fct = NULL,
.__min_needed_from = 1,
The only user of this typo, sans the ChangeLogs. Reported-by: Bruno Haible <bruno@clisp.org> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> --- Clean rebase of 1/3. iconv/gconv_builtin.h | 4 ++-- iconv/gconv_int.h | 2 +- iconv/gconv_simple.c | 2 +- wcsmbs/wcsmbsload.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)