summaryrefslogtreecommitdiffstats
path: root/src/cmd/rc/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/exec.h')
-rw-r--r--src/cmd/rc/exec.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/rc/exec.h b/src/cmd/rc/exec.h
index 06cfd64e..f9a9dfb0 100644
--- a/src/cmd/rc/exec.h
+++ b/src/cmd/rc/exec.h
@@ -56,17 +56,17 @@ struct thread{
tree *treenodes; /* tree nodes created by this process */
thread *ret; /* who continues when this finishes */
};
-thread *runq;
+extern thread *runq;
code *codecopy(code*);
-code *codebuf; /* compiler output */
-int ntrap; /* number of outstanding traps */
-int trap[NSIG]; /* number of outstanding traps per type */
+extern code *codebuf; /* compiler output */
+extern int ntrap; /* number of outstanding traps */
+extern int trap[NSIG]; /* number of outstanding traps per type */
struct builtin{
char *name;
void (*fnc)(void);
};
extern struct builtin Builtin[];
-int eflagok; /* kludge flag so that -e doesn't exit in startup */
+extern int eflagok; /* kludge flag so that -e doesn't exit in startup */
extern int havefork;
void execcd(void), execwhatis(void), execeval(void), execexec(void);