summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
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
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')
-rw-r--r--usr.bin/make/globals.h6
-rw-r--r--usr.bin/make/var.h9
2 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/make/globals.h b/usr.bin/make/globals.h
index a355f30..e8d66c0 100644
--- a/usr.bin/make/globals.h
+++ b/usr.bin/make/globals.h
@@ -103,15 +103,9 @@ extern Lst envFirstVars;
extern struct GNode *DEFAULT; /* .DEFAULT rule */
-/* 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[];
-
/* The time at the start of this whole process */
extern time_t now;
-extern Boolean oldVars; /* Do old-style variable substitution */
-
extern int debug;
/* warning flags */
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