X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fprompter.c;h=a016c1f17ad3d20adc2c93b6e48c6664e6ddc317;hb=f5e7506daeb8f52e02348504fb1699284b299f25;hp=459fa97c3aa53f3ae31e8373b095cbb1814a2cd7;hpb=ed759f583c7c5b2487ee5317d3ad4bc791a1d249;p=mmh diff --git a/uip/prompter.c b/uip/prompter.c index 459fa97..a016c1f 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,13 +393,9 @@ getln (char *buffer, int n) } -static RETSIGTYPE +static void intrser (int i) { -#ifndef RELIABLE_SIGNALS - SIGNAL (SIGINT, intrser); -#endif - if (wtuser) longjmp (sigenv, NOTOK); sigint++;