X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Futil.h;h=5385477f0403e267dfd69c4e8e83e860173ff202;hb=de6ab524b0dece4d849483a302e620960eda2c52;hp=e1a0d3118a2e1dfd83c443e81652b8669949eadf;hpb=388f7a8245da683c109f5c8704c06951abdd6f37;p=wimlib diff --git a/src/util.h b/src/util.h index e1a0d311..5385477f 100644 --- a/src/util.h +++ b/src/util.h @@ -51,9 +51,12 @@ typedef unsigned uint; #ifdef ENABLE_ERROR_MESSAGES extern bool __wimlib_print_errors; extern void wimlib_error(const char *format, ...); +extern void wimlib_warning(const char *format, ...); # define ERROR wimlib_error +# define WARNING wimlib_warning #else # define ERROR(format, ...) +# define WARNING(format, ...) #endif /* ENABLE_ERROR_MESSAGES */ #if defined(ENABLE_DEBUG) || defined(ENABLE_MORE_DEBUG)