]> diplodocus.org Git - nmh/blobdiff - uip/msgchk.c
Don't cast void pointer return value of malloc() et al.
[nmh] / uip / msgchk.c
index f582920e58390285de809052eb80d07cedcaea28..e4aad8a1392fe5334460c29cf8f89f1a9b532957 100644 (file)
@@ -8,6 +8,7 @@
 #include <h/mh.h>
 #include <h/mts.h>
 #include <h/tws.h>
+#include "h/done.h"
 #include <h/utils.h>
 #include <pwd.h>
 
@@ -79,7 +80,7 @@ DEFINE_SWITCH_ARRAY(MSGCHK, switches);
 /*
  * static prototypes
  */
-static int donote (char *, int);
+static int donote (char *, int) PURE;
 static int checkmail (char *, char *, int, int, int);
 static int remotemail (char *, char *, char *, char *, int, int, int, int,
                       char *, int, const char *);