]> git.marmaro.de Git - mmh/blobdiff - uip/msh.c
We are making POSIX signal support a requirement; remove all support for
[mmh] / uip / msh.c
index c0fc4e7ed7a20a486d53918a55bc8d78dbb259f7..07110fd8e08398e9e90df0ad2e8be2ce9450e1db 100644 (file)
--- a/uip/msh.c
+++ b/uip/msh.c
@@ -1621,10 +1621,6 @@ seq_setcur (struct msgs *mp, int msgnum)
 static void
 intrser (int i)
 {
-#ifndef RELIABLE_SIGNALS
-    SIGNAL (SIGINT, intrser);
-#endif
-
     discard (stdout);
     interrupted++;
 
@@ -1638,10 +1634,6 @@ intrser (int i)
 static void
 pipeser (int i)
 {
-#ifndef RELIABLE_SIGNALS
-    SIGNAL (SIGPIPE, pipeser);
-#endif
-
     if (broken_pipe++ == 0)
        fprintf (stderr, "broken pipe\n");
     told_to_quit++;
@@ -1657,10 +1649,6 @@ pipeser (int i)
 static void
 quitser (int i)
 {
-#ifndef RELIABLE_SIGNALS
-    SIGNAL (SIGQUIT, quitser);
-#endif
-
     told_to_quit++;
     interrupted++;