]> wimlib.net Git - wimlib/blobdiff - include/wimlib/util.h
wimlib_update_image(): Do proper rollbacks & replace files by default
[wimlib] / include / wimlib / util.h
index 2f630d57dbf8826d34f13faee33ba091068e14ae..869388fe298fa6101dae494aa51f537a79bd64df 100644 (file)
@@ -5,7 +5,6 @@
 #include "wimlib/compiler.h"
 
 #include <stdio.h>
-#include <stddef.h>
 
 #ifndef min
 #define min(a, b) ({ typeof(a) __a = (a); typeof(b) __b = (b); \
@@ -88,7 +87,9 @@ extern void *
 mempcpy(void *dst, const void *src, size_t n);
 #endif
 
-/* util.c */
+extern size_t
+utf16le_strlen(const utf16lechar *s);
+
 extern void
 randomize_byte_array(u8 *p, size_t n);