diff options
author | harti <harti@FreeBSD.org> | 2005-05-12 14:33:24 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-12 14:33:24 +0000 |
commit | ce844954aeb4f5280f8e31cdc04dfc235228e13c (patch) | |
tree | 88f03367d6bf797aae74f920878223ea39c03f6c /usr.bin | |
parent | 8a832592ce11ab5f5c94757893e5f7353808bee1 (diff) | |
download | FreeBSD-src-ce844954aeb4f5280f8e31cdc04dfc235228e13c.zip FreeBSD-src-ce844954aeb4f5280f8e31cdc04dfc235228e13c.tar.gz |
Compat_RunCommand is used only in job.c so make it static there.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.234)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/job.c | 3 | ||||
-rw-r--r-- | usr.bin/make/job.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 279fb66..3e6c482 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -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 */ diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 04253b8..fab68d8 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -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 */ |