diff options
| -rw-r--r-- | usr.bin/make/job.h | 2 | ||||
| -rw-r--r-- | usr.bin/make/main.c | 1 | ||||
| -rw-r--r-- | usr.bin/make/make.h | 2 | ||||
| -rw-r--r-- | usr.bin/make/parse.c | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 6220e0979a4fe..ba80c2ff0129f 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -226,6 +226,8 @@ extern Lst stoppedJobs; /* List of jobs that are stopped or didn't extern Boolean jobFull; /* Non-zero if no more jobs should/will start*/ #endif +extern int maxJobs; /* Number of jobs that may run */ + void Job_Touch(GNode *, Boolean); Boolean Job_CheckCommands(GNode *, void (*abortProc)(const char *, ...)); diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 1093f1dc21e91..88bf15e837d5d 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -930,7 +930,6 @@ ReadMakefile(p, q) void *q __unused; { char *fname = p; /* makefile to read */ - extern Lst parseIncPath; FILE *stream; char *name, path[MAXPATHLEN]; char *MAKEFILE; diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h index ee0b34e4680c9..b8e3ce8b1aae8 100644 --- a/usr.bin/make/make.h +++ b/usr.bin/make/make.h @@ -273,6 +273,8 @@ extern Lst create; /* The list of target names specified on the * make(...) statements */ extern Lst dirSearchPath; /* The list of directories to search when * looking for targets */ +extern Lst parseIncPath; /* The list of directories to search when + * looking for includes */ extern Boolean compatMake; /* True if we are make compatible */ extern Boolean ignoreErrors; /* True if should ignore all errors */ diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index acc606ed5dcf0..9375022854059 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -888,8 +888,6 @@ ParseDoDependency (line) break; case NotParallel: { - extern int maxJobs; - maxJobs = 1; break; } |
