2
0

Don't declare new symbols for each file that includes mpw-util.h

This commit is contained in:
Maarten Billemont 2019-09-26 12:44:07 -04:00
parent 08a06639d0
commit 068fdbbf32

View File

@ -41,10 +41,10 @@ typedef mpw_enum(int, LogLevel) {
/** Issues that lead to abortion. */
LogLevelFatal = -2,
};
LogLevel mpw_verbosity;
extern LogLevel mpw_verbosity;
/** mpw_log_cli is a sink that writes log messages to the mpw_log_cli_file, which defaults to stderr. */
FILE *mpw_log_cli_file;
extern FILE *mpw_log_cli_file;
void mpw_log_cli(LogLevel level, const char *format, ...);
void mpw_vlog_cli(LogLevel level, const char *format, va_list args);