Renamed -version switch to -Version to remove the conflict with -verbose.
[mmh] / uip / prompter.c
index a398832..6db0455 100644 (file)
@@ -47,7 +47,7 @@ static struct swit switches[] = {
 #define NDOTSW  9
        { "nodoteof", 0 },
 #define VERSIONSW 10
 #define NDOTSW  9
        { "nodoteof", 0 },
 #define VERSIONSW 10
-       { "version", 0 },
+       { "Version", 0 },
 #define HELPSW  11
        { "help", 0 },
        { NULL, 0 }
 #define HELPSW  11
        { "help", 0 },
        { NULL, 0 }
@@ -69,7 +69,7 @@ static jmp_buf sigenv;
 int getln(char *, int);
 static int chrcnv(char *);
 static void chrdsp(char *, char);
 int getln(char *, int);
 static int chrcnv(char *);
 static void chrdsp(char *, char);
-static RETSIGTYPE intrser(int);
+static void intrser(int);
 
 
 int
 
 
 int
@@ -394,13 +394,9 @@ getln(char *buffer, int n)
 }
 
 
 }
 
 
-static RETSIGTYPE
+static void
 intrser(int i)
 {
 intrser(int i)
 {
-#ifndef RELIABLE_SIGNALS
-       SIGNAL(SIGINT, intrser);
-#endif
-
        if (wtuser)
                longjmp(sigenv, NOTOK);
        sigint++;
        if (wtuser)
                longjmp(sigenv, NOTOK);
        sigint++;