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/make/job.c | |
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/make/job.c')
-rw-r--r-- | usr.bin/make/job.c | 3 |
1 files changed, 2 insertions, 1 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 */ |