diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-09-26 01:39:22 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-09-26 01:39:22 +0000 |
commit | 571ff8bdeb1aac765b40593d1e186dca57ae05eb (patch) | |
tree | 5efa63e636375c913fc2fe3cca9a2f081055a9ea /usr.bin/make/job.h | |
parent | 3a58c4d63efd5a4d8639eecaea46ea37229af5df (diff) | |
download | FreeBSD-src-571ff8bdeb1aac765b40593d1e186dca57ae05eb.zip FreeBSD-src-571ff8bdeb1aac765b40593d1e186dca57ae05eb.tar.gz |
Don't declare things as extern when they will be static.
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r-- | usr.bin/make/job.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index e12702c..f5d406b 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); |