From d7bc2a41dff3e24266d5929f3cb99afaca8836fc Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Tue, 10 May 2005 13:48:15 +0000 Subject: [PATCH] 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 --- usr.bin/make/job.c | 12 ++++++++++++ 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 6dd54392fd0..df106b18d9e 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 91e03f805a1..f2628c3ebde 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 */