From bff59d13a82cd4c02792fd73da0e7c79bda022ff Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 10 Nov 2017 00:27:34 -0500 Subject: 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_close.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/locale/iconv_close.c (limited to 'src/locale/iconv_close.c') diff --git a/src/locale/iconv_close.c b/src/locale/iconv_close.c new file mode 100644 index 00000000..fac681cc --- /dev/null +++ b/src/locale/iconv_close.c @@ -0,0 +1,6 @@ +#include + +int iconv_close(iconv_t cd) +{ + return 0; +} -- cgit 1.4.1