about summary refs log tree commit diff
path: root/iconv/gconv_int.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-05-15 07:16:47 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-05-15 07:16:47 +0200
commit7ac6fad987c28dc5e0e7964084260f163179be68 (patch)
tree73a6e215212fddaa4a0fa82fe0ba55a078f5958b /iconv/gconv_int.h
parent04b261bdc13afd1f7644c756a23df3d43d400fa4 (diff)
downloadglibc-7ac6fad987c28dc5e0e7964084260f163179be68.tar.gz
glibc-7ac6fad987c28dc5e0e7964084260f163179be68.tar.xz
glibc-7ac6fad987c28dc5e0e7964084260f163179be68.zip
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 <gconv.h>.  It should have been added to the internal
<gconv_int.h> header.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'iconv/gconv_int.h')
-rw-r--r--iconv/gconv_int.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h
index 4635bee54d..ea41d6feaa 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.  */