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:
Hartmut Brandt 2005-05-12 14:33:24 +00:00
parent 7594df85cf
commit 3db87a68e0
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */