提交 bff59d13 编写于 作者: R Rich Felker

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.
上级 79f49eff
......@@ -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;
......
#include <iconv.h>
int iconv_close(iconv_t cd)
{
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册