]> wimlib.net Git - wimlib/blobdiff - include/wimlib/error.h
Clean up util.h and util.c
[wimlib] / include / wimlib / error.h
index 9657eda8ad457c631957dbecb1e860b7f8d91049..e584c7b9cd23e885e96d71289fe66c535898e9e6 100644 (file)
@@ -1,12 +1,12 @@
 #ifndef _WIMLIB_ERROR_H
 #define _WIMLIB_ERROR_H
 
+#include <stdio.h>
+
 #include "wimlib.h" /* Get error code definitions */
 #include "wimlib/compiler.h"
 #include "wimlib/types.h"
 
-#include <stdio.h>
-
 static inline int _format_attribute(printf, 1, 2)
 dummy_tprintf(const tchar *format, ...)
 {
@@ -64,4 +64,7 @@ wimlib_debug(const tchar *file, int line, const char *func,
 #  define DEBUG(format, ...) dummy_tprintf(T(format), ## __VA_ARGS__)
 #endif /* !ENABLE_DEBUG */
 
+extern void
+print_byte_field(const u8 *field, size_t len, FILE *out);
+
 #endif /* _WIMLIB_ERROR_H */