diff --git a/src/locale/iconv.c b/src/locale/iconv.c index 5f1b0a3e8d4681c7fba895080431d14441260d1b..c64bcf357f33883ce7541b5e9c6ad89b74e7a6fe 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; diff --git a/src/locale/iconv_close.c b/src/locale/iconv_close.c new file mode 100644 index 0000000000000000000000000000000000000000..fac681cceaa1d39a1351f77b3d0f2410c1baa31c --- /dev/null +++ b/src/locale/iconv_close.c @@ -0,0 +1,6 @@ +#include + +int iconv_close(iconv_t cd) +{ + return 0; +}