We are making POSIX signal support a requirement.
[mmh] / uip / prompter.c
index a398832..6c780d4 100644 (file)
@@ -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++;