X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ed759f583c7c5b2487ee5317d3ad4bc791a1d249..025bb212470ef2945c9b7f57cb7fbfceb3e04e2c:/uip/prompter.c diff --git a/uip/prompter.c b/uip/prompter.c index 459fa97c..981e8201 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -70,7 +70,7 @@ static jmp_buf sigenv; int getln (char *, int); static int chrcnv (char *); static void chrdsp (char *, char); -static RETSIGTYPE intrser (int); +static void intrser (int); int @@ -393,12 +393,10 @@ getln (char *buffer, int n) } -static RETSIGTYPE +static void intrser (int i) { -#ifndef RELIABLE_SIGNALS - SIGNAL (SIGINT, intrser); -#endif + NMH_UNUSED (i); if (wtuser) longjmp (sigenv, NOTOK);