mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
cmd/rc: fix declarations of some externally linked variables
Change-Id: If8fe1afecb9fe55f85e8e5af37521b83e787d718
This commit is contained in:
parent
ab6f1aeac7
commit
f77d12f8d8
2 changed files with 2 additions and 3 deletions
|
@ -67,7 +67,7 @@ struct builtin{
|
||||||
};
|
};
|
||||||
extern struct builtin Builtin[];
|
extern struct builtin Builtin[];
|
||||||
int eflagok; /* kludge flag so that -e doesn't exit in startup */
|
int eflagok; /* kludge flag so that -e doesn't exit in startup */
|
||||||
int havefork;
|
extern int havefork;
|
||||||
|
|
||||||
void execcd(void), execwhatis(void), execeval(void), execexec(void);
|
void execcd(void), execwhatis(void), execeval(void), execexec(void);
|
||||||
int execforkexec(void);
|
int execforkexec(void);
|
||||||
|
|
|
@ -71,7 +71,6 @@ union code{
|
||||||
char *s;
|
char *s;
|
||||||
};
|
};
|
||||||
char *promptstr;
|
char *promptstr;
|
||||||
int doprompt;
|
|
||||||
#define NTOK 8192
|
#define NTOK 8192
|
||||||
char tok[NTOK];
|
char tok[NTOK];
|
||||||
#define APPEND 1
|
#define APPEND 1
|
||||||
|
@ -126,7 +125,7 @@ int mypid;
|
||||||
char **argp;
|
char **argp;
|
||||||
char **args;
|
char **args;
|
||||||
int nerror; /* number of errors encountered during compilation */
|
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?
|
* Which fds are the reading/writing end of a pipe?
|
||||||
* Unfortunately, this can vary from system to system.
|
* Unfortunately, this can vary from system to system.
|
||||||
|
|
Loading…
Reference in a new issue