#ifndef _WIMLIB_ENCODING_H
#define _WIMLIB_ENCODING_H
+#include <string.h>
+
#include "wimlib/error.h"
#include "wimlib/util.h"
#include "wimlib/types.h"
-#include <string.h>
+extern void
+iconv_global_init(void);
extern void
iconv_global_cleanup(void);
chartype2 *out);
extern utf16lechar *
-utf16le_dupz(const utf16lechar *ustr, size_t usize);
+utf16le_dupz(const void *ustr, size_t usize);
#if !TCHAR_IS_UTF16LE
DECLARE_CHAR_CONVERSION_FUNCTIONS(utf16le, tstr, utf16lechar, tchar);