diff options
author | Florian Weimer <fweimer@redhat.com> | 2014-09-12 09:17:32 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2014-09-12 09:17:32 +0200 |
commit | ba7b4d294b01870ce3497971e9d07ee261cdc540 (patch) | |
tree | f68e63afa5218a87f37c98c45ce8d7f62ec81bb0 /iconv/gconv_trans.c | |
parent | 5379aebddd0a35c052e7149fb4ff88b49676516e (diff) | |
download | glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.zip glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.gz glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.bz2 |
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.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/iconv/gconv_trans.c b/iconv/gconv_trans.c index e0835fc..65b5539 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) |