about summary refs log tree commit homepage
path: root/cmogstored.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmogstored.h')
-rw-r--r--cmogstored.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmogstored.h b/cmogstored.h
index df1e4f4..ac7823f 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -300,8 +300,7 @@ void mog_alloc_quit(void);
         abort(); \
 } while (0)
 
-/* warn.c */
-void warn(const char *fmt, ...) MOG_PRINTF;
+#define warn(...) error(0, 0, __VA_ARGS__)
 
 /* maxconns.c */
 void mog_set_maxconns(unsigned long);