summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-10 14:16:40 +0000
committerharti <harti@FreeBSD.org>2005-05-10 14:16:40 +0000
commit49e445d4c11983302ec8c9e3ad183ae29dd8be84 (patch)
treedbebb3d481dd032540283995729656ec68e20c4b /usr.bin/make/var.h
parent312bbd99e5883a747400fe5a4c2d8b9b962ba126 (diff)
downloadFreeBSD-src-49e445d4c11983302ec8c9e3ad183ae29dd8be84.zip
FreeBSD-src-49e445d4c11983302ec8c9e3ad183ae29dd8be84.tar.gz
Move declarations of variables belonging to the variable module
from globals.h into var.h. Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.209)
Diffstat (limited to 'usr.bin/make/var.h')
-rw-r--r--usr.bin/make/var.h9
1 files changed, 9 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud