various cleanups.
[apps/madmutt.git] / state.h
diff --git a/state.h b/state.h
index 61b9c95..2832af8 100644 (file)
--- a/state.h
+++ b/state.h
@@ -39,7 +39,8 @@ typedef struct {
 void state_mark_attach (STATE *);
 void state_attach_puts (const char *, STATE *);
 void state_prefix_putc (char, STATE *);
-int state_printf (STATE *, const char *, ...);
+int state_printf (STATE *, const char *, ...)
+    __attribute__((format(printf, 2, 3)));
 
 void mutt_convert_to_state (iconv_t, char*, ssize_t*, STATE*);