summaryrefslogtreecommitdiff
path: root/mh/mh.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-06-28 17:15:32 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-06-28 17:15:32 +0000
commit15947da1c2dba775e811bf4b00f814c8bb4385ec (patch)
tree205353b350fbf2328210060a6b042f52010e8b65 /mh/mh.h
parent5cc987236e15a413f5f78bf854ecc02be2548242 (diff)
downloadmailutils-15947da1c2dba775e811bf4b00f814c8bb4385ec.tar.gz
mailutils-15947da1c2dba775e811bf4b00f814c8bb4385ec.tar.bz2
Mark printf-like calls with MU_PRINTFLIKE.
Diffstat (limited to 'mh/mh.h')
-rw-r--r--mh/mh.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/mh/mh.h b/mh/mh.h
index f12bb73c9..c946f36a0 100644
--- a/mh/mh.h
+++ b/mh/mh.h
@@ -259,8 +259,8 @@ int mh_global_sequences_iterate (mh_context_iterator fp, void *data);
void mh_global_sequences_drop (void);
int mh_interactive_mode_p (void);
-int mh_getyn (const char *fmt, ...);
-int mh_getyn_interactive (const char *fmt, ...);
+int mh_getyn (const char *fmt, ...) MU_PRINTFLIKE(1,2);
+int mh_getyn_interactive (const char *fmt, ...) MU_PRINTFLIKE(1,2);
int mh_check_folder (const char *pathname, int confirm);
int mh_makedir (const char *p);
@@ -273,7 +273,7 @@ void mh_format_debug (int val);
void mh_format_free (mh_format_t *fmt);
mh_builtin_t *mh_lookup_builtin (char *name, int *rest);
-void mh_error (const char *fmt, ...);
+void mh_error (const char *fmt, ...) MU_PRINTFLIKE(1,2);
void mh_err_memory (int fatal);
FILE *mh_audit_open (char *name, mu_mailbox_t mbox);
@@ -364,6 +364,6 @@ void mh_comp_draft (const char *formfile, const char *defformfile,
const char *draftfile);
int check_draft_disposition (struct mh_whatnow_env *wh, int use_draft);
-void ali_parse_error (char *fmt, ...);
+void ali_parse_error (char *fmt, ...) MU_PRINTFLIKE(1,2);
void ali_verbatim (int enable);

Return to:

Send suggestions and report system problems to the System administrator.