X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fencoding.c;h=d4f4f3993c47fb1b65f97ac75cbee45d41dfce61;hp=7d260046c3a8f99588f9eb2dcfe6ac42e1a9fd8d;hb=d265332581905dd769d5fcc93d18f753a6af9b1e;hpb=cf373e59a7f6ff7d1fd007c1f22defe508aa67d4 diff --git a/src/encoding.c b/src/encoding.c index 7d260046..d4f4f399 100644 --- a/src/encoding.c +++ b/src/encoding.c @@ -21,7 +21,15 @@ * along with wimlib; if not, see http://www.gnu.org/licenses/. */ -#include "wimlib_internal.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "wimlib.h" +#include "wimlib/encoding.h" +#include "wimlib/error.h" +#include "wimlib/list.h" +#include "wimlib/util.h" #include #include @@ -362,12 +370,14 @@ iconv_cleanup(struct iconv_list_head *head) } void -iconv_global_cleanup() +iconv_global_cleanup(void) { iconv_cleanup(&iconv_utf8_to_tstr); iconv_cleanup(&iconv_tstr_to_utf8); #if !TCHAR_IS_UTF16LE iconv_cleanup(&iconv_utf16le_to_tstr); iconv_cleanup(&iconv_tstr_to_utf16le); + iconv_cleanup(&iconv_utf16le_to_utf8); + iconv_cleanup(&iconv_utf8_to_utf16le); #endif }