summaryrefslogtreecommitdiffstats
path: root/common/spice_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/spice_common.h')
-rw-r--r--common/spice_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spice_common.h b/common/spice_common.h
index 430c8af..ed28689 100644
--- a/common/spice_common.h
+++ b/common/spice_common.h
@@ -53,6 +53,8 @@
printf("%s: " format "\n", __FUNCTION__, ## __VA_ARGS__ ); \
} \
}
+#define WARN(format, ...) red_printf("warning: "format"\n", ##__VA_ARGS__ );
+#define WARN_ONCE red_printf_once
#define red_printf_some(every, format, ...) { \
static int count = 0; \