1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

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>
This commit is contained in:
Hartmut Brandt 2005-05-10 13:48:15 +00:00
parent 626dc02016
commit d7bc2a41df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146057
2 changed files with 12 additions and 12 deletions

View File

@ -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.
*

View File

@ -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 */