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:
Hartmut Brandt 2005-05-10 14:16:40 +00:00
parent 413c6d2540
commit e8b4c1591a
2 changed files with 9 additions and 6 deletions

View File

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

View File

@ -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);