summaryrefslogtreecommitdiffstats
path: root/src/cmd/rc/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/exec.c')
-rw-r--r--src/cmd/rc/exec.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c
index 0320976a..94d3321a 100644
--- a/src/cmd/rc/exec.c
+++ b/src/cmd/rc/exec.c
@@ -8,6 +8,24 @@
*/
char *argv0="rc";
+thread *runq;
+code *codebuf; /* compiler output */
+int ntrap; /* number of outstanding traps */
+int trap[NSIG]; /* number of outstanding traps per type */
+int eflagok; /* kludge flag so that -e doesn't exit in startup */
+tree *cmdtree;
+char *promptstr;
+char tok[NTOK];
+var *gvar[NVAR]; /* hash for globals */
+int mypid;
+char **argp;
+char **args;
+int nerror; /* number of errors encountered during compilation */
+int ndot;
+int lastc;
+int kidpid;
+io *err;
+
void
start(code *c, int pc, var *local)
{