summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-07-10 13:26:51 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:07 +0100
commit25305e9045f9b3d0611b4c035942308410c7d46e (patch)
treeeff6fd4bfbbbc8dbfa384a27e153756466c5f77b /input.c
parent875a35ff98989a50a80ede8648d3683b391a3f01 (diff)
remove warning for execit
Diffstat (limited to 'input.c')
-rw-r--r--input.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/input.c b/input.c
index a405b15..3f832a2 100644
--- a/input.c
+++ b/input.c
@@ -67,7 +67,7 @@ static int dead() {
return last = EOF;
}
-static void ugdead(int c) {
+static void ugdead(int ignore) {
return;
}
@@ -232,14 +232,16 @@ extern void flushu() {
/* the wrapper loop in rc: prompt for commands until EOF, calling yyparse and walk() */
-extern Node *doit(bool execit) {
+extern Node *doit(bool clobberexecit) {
bool eof;
+ bool execit ;
Jbwrap j;
Estack e1, e2;
Edata jerror;
if (dashen)
- execit = FALSE;
+ clobberexecit = FALSE;
+ execit = clobberexecit;
sigsetjmp(j.j, 1);
jerror.jb = &j;
except(eError, jerror, &e1);