X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fprompter.c;h=ecfd05f7d4cee2cfcc5dd41bc27299d44843eaa1;hb=703b7d98727c1f7e1e76434a04a3125d76d7d168;hp=872d7423c62a847b29a2a354fd4a072e5740708a;hpb=d45c3d28d788129428036fd7f26fa417beccd93e;p=mmh diff --git a/uip/prompter.c b/uip/prompter.c index 872d742..ecfd05f 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include @@ -353,7 +353,7 @@ getln (char *buffer, int n) cp = buffer; *cp = 0; - switch (setjmp (sigenv)) { + switch (m_setjmp (sigenv)) { case OK: wtuser = 1; break; @@ -396,9 +396,7 @@ getln (char *buffer, int n) static void intrser (int i) { -#ifndef RELIABLE_SIGNALS - SIGNAL (SIGINT, intrser); -#endif + NMH_UNUSED (i); if (wtuser) longjmp (sigenv, NOTOK);