Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / mhmail.c
index ef1a050..2ab9cfd 100644 (file)
@@ -38,14 +38,15 @@ static char tmpfil[BUFSIZ];
 /*
 ** static prototypes
 */
-static RETSIGTYPE intrser(int);
+static void intrser(int);
 
 
 int
 main(int argc, char **argv)
 {
        pid_t child_id;
-       int status, i, iscc = 0, nvec;
+       int status, iscc = 0, nvec;
+       unsigned int i;
        int queued = 0, resent = 0, somebody;
        char *cp, *tolist = NULL, *cclist = NULL, *subject = NULL;
        char *from = NULL, *body = NULL, **argp, **arguments;
@@ -211,14 +212,9 @@ main(int argc, char **argv)
 }
 
 
-static RETSIGTYPE
+static void
 intrser(int i)
 {
-#ifndef RELIABLE_SIGNALS
-       if (i)
-               SIGNAL(i, SIG_IGN);
-#endif
-
        unlink(tmpfil);
        done(i != 0 ? 1 : 0);
 }