diff options
author | harti <harti@FreeBSD.org> | 2005-05-10 13:48:15 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-10 13:48:15 +0000 |
commit | 9b8440258652704db66d6a166eaa63e2e5b2a7ec (patch) | |
tree | d57c8a15dd7c203275cd5e3edf5e13f14d11a894 | |
parent | 9f5daa0be5581c391ed4a6a190cdd564f13cfbc8 (diff) | |
download | FreeBSD-src-9b8440258652704db66d6a166eaa63e2e5b2a7ec.zip FreeBSD-src-9b8440258652704db66d6a166eaa63e2e5b2a7ec.tar.gz |
Move the defines for TMPPAT and KQUEUE from the public job.h into job.c
since they are used only there.
Patch: 7.200
Submitted by: Max Okumoto <okumoto@ucsd.edu>
-rw-r--r-- | usr.bin/make/job.c | 12 | ||||
-rw-r--r-- | usr.bin/make/job.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 6dd5439..df106b1 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -132,6 +132,18 @@ __FBSDID("$FreeBSD$"); #include "util.h" #include "var.h" +#define TMPPAT "/tmp/makeXXXXXXXXXX" + +#ifndef USE_KQUEUE +/* + * The SEL_ constants determine the maximum amount of time spent in select + * before coming out to see if a child has finished. SEL_SEC is the number of + * seconds and SEL_USEC is the number of micro-seconds + */ +#define SEL_SEC 2 +#define SEL_USEC 0 +#endif /* !USE_KQUEUE */ + /* * Job Table definitions. * diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 91e03f8..f2628c3 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -56,18 +56,6 @@ struct Buffer; struct GNode; struct Lst; -#define TMPPAT "/tmp/makeXXXXXXXXXX" - -#ifndef USE_KQUEUE -/* - * The SEL_ constants determine the maximum amount of time spent in select - * before coming out to see if a child has finished. SEL_SEC is the number of - * seconds and SEL_USEC is the number of micro-seconds - */ -#define SEL_SEC 2 -#define SEL_USEC 0 -#endif /* !USE_KQUEUE */ - extern char *shellPath; extern char *shellName; extern int maxJobs; /* Number of jobs that may run */ |