summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-10-09 01:56:02 +0000
committerjmallett <jmallett@FreeBSD.org>2002-10-09 01:56:02 +0000
commitcc747c11c5444d874bc9a548ddb8dbcfba2e483e (patch)
treefeefe92d63572b2e7d21a09bd10a5cdaf60371e5 /usr.bin
parent5788a2c1bb03c058e07cfab411f9c4a33911a10c (diff)
downloadFreeBSD-src-cc747c11c5444d874bc9a548ddb8dbcfba2e483e.zip
FreeBSD-src-cc747c11c5444d874bc9a548ddb8dbcfba2e483e.tar.gz
Remove extern declarations from functions and source files where they would
happily fit into headers.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/job.h2
-rw-r--r--usr.bin/make/main.c1
-rw-r--r--usr.bin/make/make.h2
-rw-r--r--usr.bin/make/parse.c2
4 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index 6220e09..ba80c2f 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 1093f1d..88bf15e 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 ee0b34e..b8e3ce8 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 acc606e..9375022 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;
}
OpenPOWER on IntegriCloud