X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fprompter.c;h=6c780d4a19d40fa6f5aa5c373df9ede49a9acdfd;hb=01a3480928da485b4d6109d36d751dfa71799d58;hp=a398832e1ad52576aa1ba41fc91a5d4cd78bee07;hpb=7e421e1fd5cf1c4ce33edc005fa63784d9c5a2e6;p=mmh diff --git a/uip/prompter.c b/uip/prompter.c index a398832..6c780d4 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -69,7 +69,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 @@ -394,13 +394,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++;