about summary refs log tree commit diff
path: root/iconv/gconv_trans.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2014-09-12 09:17:32 +0200
committerFlorian Weimer <fweimer@redhat.com>2014-09-12 09:17:32 +0200
commitba7b4d294b01870ce3497971e9d07ee261cdc540 (patch)
treef68e63afa5218a87f37c98c45ce8d7f62ec81bb0 /iconv/gconv_trans.c
parent5379aebddd0a35c052e7149fb4ff88b49676516e (diff)
downloadglibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.gz
glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.xz
glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.zip
Complete the removal of __gconv_translit_find
Prior to the 2.20 release, the function was just changed to fail
unconditionally, in commit a1a6a401ab0a3c9f15fb7eaebbdcee24192254e8.
This commit removes the function completely, including gconv bits
which depend on it.

This changes the gconv ABI, which is not a public interface.
Diffstat (limited to 'iconv/gconv_trans.c')
-rw-r--r--iconv/gconv_trans.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/iconv/gconv_trans.c b/iconv/gconv_trans.c
index e0835fc666..65b5539307 100644
--- a/iconv/gconv_trans.c
+++ b/iconv/gconv_trans.c
@@ -32,7 +32,6 @@
 int
 __gconv_transliterate (struct __gconv_step *step,
 		       struct __gconv_step_data *step_data,
-		       void *trans_data __attribute__ ((unused)),
 		       const unsigned char *inbufstart,
 		       const unsigned char **inbufp,
 		       const unsigned char *inbufend,
@@ -237,13 +236,4 @@ __gconv_transliterate (struct __gconv_step *step,
   /* Haven't found a match.  */
   return __GCONV_ILLEGAL_INPUT;
 }
-
-int
-internal_function
-__gconv_translit_find (struct trans_struct *trans)
-{
-  /* Transliteration module loading has been removed because it never
-     worked as intended and suffered from a security vulnerability.
-     Consequently, this function always fails.  */
-  return 1;
-}
+libc_hidden_def (__gconv_transliterate)