From 4fed818c7e958f6df621f63077b94f52ea7d71eb Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Thu, 26 Sep 2002 01:39:22 +0000 Subject: [PATCH] Don't declare things as extern when they will be static. Sponsored by: Rachel Hestilow --- usr.bin/make/job.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index e12702cd3410..f5d406bbb9e2 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -203,7 +203,11 @@ typedef struct Shell { char *exit; /* exit on error */ } Shell; - +/* + * If REMOTE is defined then these things need exposed, otherwise they are + * static to job.c! + */ +#ifdef REMOTE extern char *targFmt; /* Format string for banner that separates * output from multiple jobs. Contains a * single %s where the name of the node being @@ -218,6 +222,7 @@ extern Lst jobs; /* List of active job descriptors */ extern Lst stoppedJobs; /* List of jobs that are stopped or didn't * quite get started */ extern Boolean jobFull; /* Non-zero if no more jobs should/will start*/ +#endif void Job_Touch(GNode *, Boolean);