various cleanups.
[apps/madmutt.git] / globals.h
index aed2d80..fe17703 100644 (file)
--- a/globals.h
+++ b/globals.h
@@ -11,8 +11,8 @@
 
 #include <lib-lib/lib-lib.h>
 
-WHERE void (*mutt_error) (const char *, ...);
-WHERE void (*mutt_message) (const char *, ...);
+WHERE void (*mutt_error) (const char *, ...) __attribute__((format(printf, 1, 2))) ;
+WHERE void (*mutt_message) (const char *, ...) __attribute__((format(printf, 1, 2))) ;
 
 WHERE CONTEXT *Context;