aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc/rc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/rc.h')
-rw-r--r--src/cmd/rc/rc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/rc/rc.h b/src/cmd/rc/rc.h
index 7778ff4c..46ff9510 100644
--- a/src/cmd/rc/rc.h
+++ b/src/cmd/rc/rc.h
@@ -71,7 +71,6 @@ union code{
char *s;
};
char *promptstr;
-int doprompt;
#define NTOK 8192
char tok[NTOK];
#define APPEND 1
@@ -126,7 +125,7 @@ int mypid;
char **argp;
char **args;
int nerror; /* number of errors encountered during compilation */
-int doprompt; /* is it time for a prompt? */
+extern int doprompt; /* is it time for a prompt? */
/*
* Which fds are the reading/writing end of a pipe?
* Unfortunately, this can vary from system to system.