Move the declaration of VAR_CMD and VAR_GLOBAL from globals.h to var.h

Patch:		7.196
Submitted by:	Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
harti 2005-05-10 11:58:52 +00:00
parent 5618be5938
commit aac19b11ef
2 changed files with 6 additions and 6 deletions

View File

@ -103,12 +103,6 @@ extern Lst envFirstVars;
extern struct GNode *DEFAULT; /* .DEFAULT rule */
/* Variables defined in a global context, e.g in the Makefile itself */
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[];

View File

@ -45,6 +45,12 @@
struct GNode;
struct Buffer;
/* Variables defined in a global context, e.g in the Makefile itself */
extern struct GNode *VAR_GLOBAL;
/* Variables defined on the command line */
extern struct GNode *VAR_CMD;
void Var_Append(const char *, const char *, struct GNode *);
void Var_Delete(const char *, struct GNode *);
void Var_Dump(void);