summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-10 11:58:52 +0000
committerharti <harti@FreeBSD.org>2005-05-10 11:58:52 +0000
commitaac19b11ef29f0b93bf97f28d1096f4f86dcb44e (patch)
treec70586ccef433028b3a143c78162dfa2dcd6fc84 /usr.bin/make/var.h
parent5618be5938fd161a7ecd5791169ee8c595817cf3 (diff)
downloadFreeBSD-src-aac19b11ef29f0b93bf97f28d1096f4f86dcb44e.zip
FreeBSD-src-aac19b11ef29f0b93bf97f28d1096f4f86dcb44e.tar.gz
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>
Diffstat (limited to 'usr.bin/make/var.h')
-rw-r--r--usr.bin/make/var.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/make/var.h b/usr.bin/make/var.h
index 6de80d3..5f1948d 100644
--- a/usr.bin/make/var.h
+++ b/usr.bin/make/var.h
@@ -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);
OpenPOWER on IntegriCloud