Fix print_warn() macro

This commit is contained in:
Mario Hüttel 2023-01-06 16:33:25 +01:00
parent 1d5219cc18
commit 5134d1b974

View File

@ -22,7 +22,8 @@
#include <stdbool.h>
#define print_err(fmt, ...) fprintf(stderr, "[ERR] " fmt, ## __VA_ARGS__)
#define print_warn(fmt, ...) fprintf(stderr, "[WARN] " fmt, ## __VAR__ARGS__)
#define print_warn(fmt, ...) fprintf(stderr, "[WARN] " fmt, ## __VA_ARGS__)
void print_debug(const char *fmt, ...);