X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frcvtty.c;h=74d19d5d641948f9446b238d9866a89b30ba3a6d;hb=f77270883363b2407ba4588e20ab697535d45c50;hp=07053d2cf0728b3fdc9b82ed8c9bec3077ac65fd;hpb=164be8e5e8b40ce4572281be26d423a9c9d595f3;p=mmh diff --git a/uip/rcvtty.c b/uip/rcvtty.c index 07053d2..74d19d5 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -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,12 +204,10 @@ main (int argc, char **argv) } -static RETSIGTYPE +static void alrmser (int i) { -#ifndef RELIABLE_SIGNALS - SIGNAL (SIGALRM, alrmser); -#endif + NMH_UNUSED (i); longjmp (myctx, 1); }