From 49e445d4c11983302ec8c9e3ad183ae29dd8be84 Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 10 May 2005 14:16:40 +0000 Subject: Move declarations of variables belonging to the variable module from globals.h into var.h. Submitted by: Max Okumoto (7.209) --- usr.bin/make/var.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'usr.bin/make/var.h') diff --git a/usr.bin/make/var.h b/usr.bin/make/var.h index 2294b95..42cdd93 100644 --- a/usr.bin/make/var.h +++ b/usr.bin/make/var.h @@ -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); -- cgit v1.1