]> wimlib.net Git - wimlib/blobdiff - include/wimlib/encoding.h
header cleanups
[wimlib] / include / wimlib / encoding.h
index 00f1a388c63665bd2dcb108418973d075552cd01..f9e5f2645ef707eed8d4a8da96222e769a117166 100644 (file)
@@ -1,11 +1,14 @@
 #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);
@@ -32,7 +35,7 @@ varname1##_to_##varname2##_buf(const chartype1 *in, size_t in_nbytes, \
                               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);