summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-10 14:06:19 +0000
committerharti <harti@FreeBSD.org>2005-05-10 14:06:19 +0000
commitcb3c429895e388d8e36394ff2da6fa84ab71dad1 (patch)
treeddc9181d1cb567d5cb2c0a93e230bcce7c8af26a /usr.bin/make/job.c
parent3a6b30eead99f1ccb10d79b6111060ece6811f89 (diff)
downloadFreeBSD-src-cb3c429895e388d8e36394ff2da6fa84ab71dad1.zip
FreeBSD-src-cb3c429895e388d8e36394ff2da6fa84ab71dad1.tar.gz
Make shellPath and shellName static - they're used in job.c only.
Move definition of parsing error levels from make.h into parse.h. Patches: 7.202,7.203 Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/job.c')
-rw-r--r--usr.bin/make/job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index b1c1134..55def8e 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -386,8 +386,8 @@ static const struct CShell shells[] = {
* It is set by the Job_ParseShell function.
*/
static struct Shell *commandShell = NULL;
-char *shellPath = NULL; /* full pathname of executable image */
-char *shellName = NULL; /* last component of shell */
+static char *shellPath = NULL; /* full pathname of executable image */
+static char *shellName = NULL; /* last component of shell */
int maxJobs; /* The most children we can run at once */
static int nJobs; /* The number of children currently running */
OpenPOWER on IntegriCloud