]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.c
Add more NORETURN and CHECK_PRINTF function attributes.
[nmh] / mts / smtp / smtp.c
index 7808e1a70871454de78e9e306e4ad147f7383bdd..fed756b7d1b615b4ed3092ef4d7a5e1eff2175b0 100644 (file)
@@ -59,9 +59,9 @@ static int sendmail_init (char *, int, int, int, int, const char *,
                          const char *);
 
 static int rclient (char *, char *, char **);
-static int sm_ierror (const char *fmt, ...);
+static int sm_ierror (const char *fmt, ...) CHECK_PRINTF(1, 2);
 static int sm_nerror (char *);
-static int smtalk (int time, char *fmt, ...);
+static int smtalk (int time, char *fmt, ...) CHECK_PRINTF(2, 3);
 static int sm_wstream (char *, int);
 static int smhear (void);
 static char *EHLOset (char *);