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:
parent
5618be5938
commit
aac19b11ef
@ -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[];
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user