summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-12 14:16:44 +0000
committerharti <harti@FreeBSD.org>2005-05-12 14:16:44 +0000
commite7ab78380c4d30d28dbf699ac0bffeb881f56c83 (patch)
tree62f3bf0ee1d651af1f65a442f72505ae0f4ba19c /usr.bin/make/job.h
parent1fd70549f81b5f11ba2eac3355822f193aae07b6 (diff)
downloadFreeBSD-src-e7ab78380c4d30d28dbf699ac0bffeb881f56c83.zip
FreeBSD-src-e7ab78380c4d30d28dbf699ac0bffeb881f56c83.tar.gz
Fix the fix for bin/72510 applied in job.c:1.70. Actually there have
been two maxJobs variables: one static in job.c and one global used in main.c and parse.c. Makeing one global out of these was the wrong way to fix the problem. Instead rename the global one to jobLimit and keep maxJobs static in job.c. Suggested by: rwatson PR: bin/72510
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r--usr.bin/make/job.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index 987b5fd..04253b8 100644
--- a/usr.bin/make/job.h
+++ b/usr.bin/make/job.h
@@ -56,8 +56,6 @@ struct Buffer;
struct GNode;
struct Lst;
-extern int maxJobs; /* Number of jobs that may run */
-
void Shell_Init(void);
void Job_Touch(struct GNode *, Boolean);
Boolean Job_CheckCommands(struct GNode *, void (*abortProc)(const char *, ...));
OpenPOWER on IntegriCloud