]> diplodocus.org Git - nmh/blobdiff - uip/rcvtty.c
Fix two errors in the conversion to m_mktemp2():
[nmh] / uip / rcvtty.c
index 07053d2cf0728b3fdc9b82ed8c9bec3077ac65fd..5a3093be804166666d78266495bc879199bef9a0 100644 (file)
@@ -78,7 +78,7 @@ char *getusername(void);
 /*
  * static prototypes
  */
-static RETSIGTYPE alrmser (int);
+static void alrmser (int);
 static int message_fd (char **);
 static int header_fd (void);
 static void alert (char *, int);
@@ -204,13 +204,9 @@ main (int argc, char **argv)
 }
 
 
-static RETSIGTYPE
+static void
 alrmser (int i)
 {
-#ifndef RELIABLE_SIGNALS
-    SIGNAL (SIGALRM, alrmser);
-#endif
-
     longjmp (myctx, 1);
 }