X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d45c3d28d788129428036fd7f26fa417beccd93e..98e2ac4aa016aecbca7e9b8e8bcb8ecfa7bba1b5:/uip/prompter.c diff --git a/uip/prompter.c b/uip/prompter.c index 872d7423..ecfd05f7 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);