summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-12 11:58:39 +0000
committerharti <harti@FreeBSD.org>2005-05-12 11:58:39 +0000
commitad17767376c1077543ed54a2d7ac91d33e4eff8a (patch)
tree20559f28395cadbc2deab1bc7777936560e09622 /usr.bin/make/var.c
parentd25fe4420098397b0e958b7de309e86708668e42 (diff)
downloadFreeBSD-src-ad17767376c1077543ed54a2d7ac91d33e4eff8a.zip
FreeBSD-src-ad17767376c1077543ed54a2d7ac91d33e4eff8a.tar.gz
Move some global variables to the correct files.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.232)
Diffstat (limited to 'usr.bin/make/var.c')
-rw-r--r--usr.bin/make/var.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 55e5b79..eb83c52 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -180,9 +180,12 @@ static char varNoError[] = "";
* The four contexts are searched in the reverse order from which they are
* listed.
*/
-GNode *VAR_ENV; /* variables from the environment */
-GNode *VAR_GLOBAL; /* variables from the makefile */
-GNode *VAR_CMD; /* variables defined on the command-line */
+static GNode *VAR_ENV; /* variables from the environment */
+GNode *VAR_GLOBAL; /* variables from the makefile */
+GNode *VAR_CMD; /* variables defined on the command-line */
+
+Boolean oldVars; /* variable substitution style */
+Boolean checkEnvFirst; /* -e flag */
#define OPEN_PAREN '('
#define CLOSE_PAREN ')'
OpenPOWER on IntegriCloud