From 7ac6fad987c28dc5e0e7964084260f163179be68 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 15 May 2019 07:16:47 +0200 Subject: iconv: Remove public declaration of __gconv_transliterate Commit ba7b4d294b01870ce3497971e9d07ee261cdc540 ("Complete the removal of __gconv_translit_find") added a declaration of the GLIBC_PRIVATE function, __gconv_transliterate, to the installed header . It should have been added to the internal header. Reviewed-by: Carlos O'Donell --- iconv/gconv.h | 9 --------- iconv/gconv_int.h | 8 ++++++++ iconv/loop.c | 2 +- iconv/skeleton.c | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) (limited to 'iconv') diff --git a/iconv/gconv.h b/iconv/gconv.h index 12fd775..5ad26c0 100644 --- a/iconv/gconv.h +++ b/iconv/gconv.h @@ -142,13 +142,4 @@ typedef struct __gconv_info __extension__ struct __gconv_step_data __data[0]; } *__gconv_t; -/* Transliteration using the locale's data. */ -extern int __gconv_transliterate (struct __gconv_step *step, - struct __gconv_step_data *step_data, - const unsigned char *inbufstart, - const unsigned char **inbufp, - const unsigned char *inbufend, - unsigned char **outbufstart, - size_t *irreversible); - #endif /* gconv.h */ diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h index 4635bee..ea41d6f 100644 --- a/iconv/gconv_int.h +++ b/iconv/gconv_int.h @@ -223,6 +223,14 @@ extern void __gconv_get_builtin_trans (const char *name, struct __gconv_step *step) attribute_hidden; +/* Transliteration using the locale's data. */ +extern int __gconv_transliterate (struct __gconv_step *step, + struct __gconv_step_data *step_data, + const unsigned char *inbufstart, + const unsigned char **inbufp, + const unsigned char *inbufend, + unsigned char **outbufstart, + size_t *irreversible); libc_hidden_proto (__gconv_transliterate) /* If NAME is an codeset alias expand it. */ diff --git a/iconv/loop.c b/iconv/loop.c index 316bbf6..fa98c1a 100644 --- a/iconv/loop.c +++ b/iconv/loop.c @@ -49,7 +49,7 @@ #include #include -#include +#include #include #include #include diff --git a/iconv/skeleton.c b/iconv/skeleton.c index d98a78a..cc39fdc 100644 --- a/iconv/skeleton.c +++ b/iconv/skeleton.c @@ -133,7 +133,7 @@ */ #include -#include +#include #include #define __need_size_t #define __need_NULL -- cgit v1.1