diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-06-28 17:15:32 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-06-28 17:15:32 +0000 |
commit | 15947da1c2dba775e811bf4b00f814c8bb4385ec (patch) | |
tree | 205353b350fbf2328210060a6b042f52010e8b65 /imap4d | |
parent | 5cc987236e15a413f5f78bf854ecc02be2548242 (diff) | |
download | mailutils-15947da1c2dba775e811bf4b00f814c8bb4385ec.tar.gz mailutils-15947da1c2dba775e811bf4b00f814c8bb4385ec.tar.bz2 |
Mark printf-like calls with MU_PRINTFLIKE.
Diffstat (limited to 'imap4d')
-rw-r--r-- | imap4d/imap4d.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/imap4d/imap4d.h b/imap4d/imap4d.h index e190e6833..27d95e17b 100644 --- a/imap4d/imap4d.h +++ b/imap4d/imap4d.h @@ -241,12 +241,13 @@ extern void imap4d_capability_remove (const char *str); extern void imap4d_capability_init (void); /* Helper functions. */ -extern int util_out (int, const char *, ...); -extern int util_send (const char *, ...); +extern int util_out (int, const char *, ...) MU_PRINTFLIKE(2,3); +extern int util_send (const char *, ...) MU_PRINTFLIKE(1,2); extern int util_send_qstring (const char *); extern int util_send_literal (const char *); extern int util_start (char *); -extern int util_finish (struct imap4d_command *, int, const char *, ...); +extern int util_finish (struct imap4d_command *, int, const char *, ...) + MU_PRINTFLIKE(3,4); extern int util_getstate (void); extern int util_do_command (char *); extern char *imap4d_readline (void); |