summaryrefslogtreecommitdiff
path: root/src/ratpoison.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ratpoison.h')
-rw-r--r--src/ratpoison.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ratpoison.h b/src/ratpoison.h
index 3068050..e675d54 100644
--- a/src/ratpoison.h
+++ b/src/ratpoison.h
@@ -44,6 +44,13 @@ do { \
fflush (stdout); \
} while (0)
+#define PRINT_WARNING(fmt) \
+do { \
+ PRINT_LINE (warning); \
+ printf fmt; \
+ fflush (stdout); \
+} while (0)
+
#ifdef DEBUG
#define PRINT_DEBUG(fmt) \
do { \