summaryrefslogtreecommitdiff
path: root/wsutil
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/ws_printf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wsutil/ws_printf.h b/wsutil/ws_printf.h
index d996d01c5e..3e0468e53b 100644
--- a/wsutil/ws_printf.h
+++ b/wsutil/ws_printf.h
@@ -101,6 +101,11 @@ debugging context has a protocol tree.
*/
#define ws_debug_printf printf
+/* This is intended to fool checkAPIs.pl for few places that have legitimate
+use for g_warning. This should be used sparingly.
+*/
+#define ws_g_warning g_warning
+
#ifdef __cplusplus
}
#endif /* __cplusplus */