Compat_RunCommand is used only in job.c so make it static there.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.234)
This commit is contained in:
parent
7594df85cf
commit
3db87a68e0
@ -502,6 +502,7 @@ static struct Shell *JobMatchShell(const char *);
|
||||
static void JobInterrupt(int, int);
|
||||
static void JobRestartJobs(void);
|
||||
static void ProcExec(const ProcStuff *) __dead2;
|
||||
static int Compat_RunCommand(char *, struct GNode *);
|
||||
|
||||
/*
|
||||
* The following array is used to make a fast determination of which
|
||||
@ -3299,7 +3300,7 @@ shellneed(char *cmd)
|
||||
*
|
||||
*-----------------------------------------------------------------------
|
||||
*/
|
||||
int
|
||||
static int
|
||||
Compat_RunCommand(char *cmd, GNode *gn)
|
||||
{
|
||||
char *cmdStart; /* Start of expanded command */
|
||||
|
@ -73,6 +73,5 @@ void Job_AbortAll(void);
|
||||
struct Buffer *Cmd_Exec(const char *, const char **);
|
||||
|
||||
void Compat_Run(struct Lst *);
|
||||
int Compat_RunCommand(char *, struct GNode *);
|
||||
|
||||
#endif /* job_h_4678dfd1 */
|
||||
|
Loading…
Reference in New Issue
Block a user