Removed all traces of rmfproc. It had been used by bbl but was
[mmh] / uip / prompter.c
index 872d742..ecfd05f 100644 (file)
@@ -12,7 +12,7 @@
 #include <h/signals.h>
 #include <errno.h>
 #include <signal.h>
-#include <setjmp.h>
+#include <h/m_setjmp.h>
 
 #include <termios.h>
 
@@ -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);