about summary refs log tree commit diff
path: root/src/locale
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/iconv.c5
-rw-r--r--src/locale/iconv_close.c6
2 files changed, 6 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;
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 <iconv.h>
+
+int iconv_close(iconv_t cd)
+{
+	return 0;
+}