From ba7b4d294b01870ce3497971e9d07ee261cdc540 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 12 Sep 2014 09:17:32 +0200 Subject: 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. --- iconv/loop.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'iconv/loop.c') diff --git a/iconv/loop.c b/iconv/loop.c index a480c0cd40..f4430ed968 100644 --- a/iconv/loop.c +++ b/iconv/loop.c @@ -213,8 +213,6 @@ points. */ #define STANDARD_TO_LOOP_ERR_HANDLER(Incr) \ { \ - struct __gconv_trans_data *trans; \ - \ result = __GCONV_ILLEGAL_INPUT; \ \ if (irreversible == NULL) \ @@ -227,14 +225,10 @@ UPDATE_PARAMS; \ \ /* First try the transliteration methods. */ \ - for (trans = step_data->__trans; trans != NULL; trans = trans->__next) \ - { \ - result = DL_CALL_FCT (trans->__trans_fct, \ - (step, step_data, trans->__data, *inptrp, \ - &inptr, inend, &outptr, irreversible)); \ - if (result != __GCONV_ILLEGAL_INPUT) \ - break; \ - } \ + if ((step_data->__flags & __GCONV_TRANSLIT) != 0) \ + result = __gconv_transliterate \ + (step, step_data, *inptrp, \ + &inptr, inend, &outptr, irreversible); \ \ REINIT_PARAMS; \ \ -- cgit 1.4.1