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_close.c | |
parent | 5379aebddd0a35c052e7149fb4ff88b49676516e (diff) | |
download | glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.gz glibc-ba7b4d294b01870ce3497971e9d07ee261cdc540.tar.bz2 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_close.c')
-rw-r--r-- | iconv/gconv_close.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/iconv/gconv_close.c b/iconv/gconv_close.c index 81f0e0b319..f6394af6ca 100644 --- a/iconv/gconv_close.c +++ b/iconv/gconv_close.c @@ -37,20 +37,6 @@ __gconv_close (__gconv_t cd) drunp = cd->__data; do { - struct __gconv_trans_data *transp; - - transp = drunp->__trans; - while (transp != NULL) - { - struct __gconv_trans_data *curp = transp; - transp = transp->__next; - - if (__glibc_unlikely (curp->__trans_end_fct != NULL)) - curp->__trans_end_fct (curp->__data); - - free (curp); - } - if (!(drunp->__flags & __GCONV_IS_LAST) && drunp->__outbuf != NULL) free (drunp->__outbuf); } |