diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-11-10 00:27:34 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-11-10 00:27:34 -0500 |
commit | bff59d13a82cd4c02792fd73da0e7c79bda022ff (patch) | |
tree | 7834d132056c4b60abfe6fb96bbdb2596f8777fa /src/locale/iconv.c | |
parent | 79f49effa0a82d88a9bb0b1992ed2e5fa807f900 (diff) | |
download | musl-bff59d13a82cd4c02792fd73da0e7c79bda022ff.tar.gz musl-bff59d13a82cd4c02792fd73da0e7c79bda022ff.tar.bz2 musl-bff59d13a82cd4c02792fd73da0e7c79bda022ff.tar.xz musl-bff59d13a82cd4c02792fd73da0e7c79bda022ff.zip |
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.
Diffstat (limited to 'src/locale/iconv.c')
-rw-r--r-- | src/locale/iconv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/locale/iconv.c b/src/locale/iconv.c index 5f1b0a3e..c64bcf35 100644 --- a/src/locale/iconv.c +++ b/src/locale/iconv.c @@ -129,11 +129,6 @@ iconv_t iconv_open(const char *to, const char *from) return combine_to_from(t, f); } -int iconv_close(iconv_t cd) -{ - return 0; -} - static unsigned get_16(const unsigned char *s, int e) { e &= 1; |