mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Move declarations of variables belonging to the variable module
from globals.h into var.h. Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.209)
This commit is contained in:
parent
413c6d2540
commit
e8b4c1591a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146062
@ -103,15 +103,9 @@ extern Lst envFirstVars;
|
||||
|
||||
extern struct GNode *DEFAULT; /* .DEFAULT rule */
|
||||
|
||||
/* Value returned by Var_Parse when an error is encountered. It actually
|
||||
* points to an empty string, so naive callers needn't worry about it. */
|
||||
extern char var_Error[];
|
||||
|
||||
/* The time at the start of this whole process */
|
||||
extern time_t now;
|
||||
|
||||
extern Boolean oldVars; /* Do old-style variable substitution */
|
||||
|
||||
extern int debug;
|
||||
|
||||
/* warning flags */
|
||||
|
@ -51,6 +51,15 @@ extern struct GNode *VAR_GLOBAL;
|
||||
/* Variables defined on the command line */
|
||||
extern struct GNode *VAR_CMD;
|
||||
|
||||
/*
|
||||
* Value returned by Var_Parse when an error is encountered. It actually
|
||||
* points to an empty string, so naive callers needn't worry about it.
|
||||
*/
|
||||
extern char var_Error[];
|
||||
|
||||
/* Do old-style variable substitution */
|
||||
extern Boolean oldVars;
|
||||
|
||||
void Var_Append(const char *, const char *, struct GNode *);
|
||||
void Var_Delete(const char *, struct GNode *);
|
||||
void Var_Dump(void);
|
||||
|
Loading…
Reference in New Issue
Block a user