move iconv_close to its own translation unit
authorRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 05:27:34 +0000 (00:27 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 05:27:34 +0000 (00:27 -0500)
commitbff59d13a82cd4c02792fd73da0e7c79bda022ff
tree7834d132056c4b60abfe6fb96bbdb2596f8777fa
parent79f49effa0a82d88a9bb0b1992ed2e5fa807f900
move iconv_close to its own translation unit

this is in preparation to support stateful conversion descriptors,
which are necessarily allocated and thus must be freed in iconv_close.
putting it in a separate TU will avoid pulling in free if iconv_close
is not referenced.
src/locale/iconv.c
src/locale/iconv_close.c [new file with mode: 0644]