diff options
author | harti <harti@FreeBSD.org> | 2005-05-12 14:47:22 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-12 14:47:22 +0000 |
commit | 8b9c642e878e784c620b9103f85818a891c786fe (patch) | |
tree | 8b25d39d4f10ff7995405187470bf9d7c064da27 /usr.bin/make/var.c | |
parent | dfdc1e0f672d6108333eb0feb0440d6386fa092b (diff) | |
download | FreeBSD-src-8b9c642e878e784c620b9103f85818a891c786fe.zip FreeBSD-src-8b9c642e878e784c620b9103f85818a891c786fe.tar.gz |
Replace a lot of Var_Set(..., VAR_GLOBAL) by Var_SetGlobal().
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.237)
Diffstat (limited to 'usr.bin/make/var.c')
-rw-r--r-- | usr.bin/make/var.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index a70acae..077ddbf 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -1033,6 +1033,17 @@ Var_Set(const char *name, const char *val, GNode *ctxt) } /** + * Set the a global name variable to the value. + */ +void +Var_SetGlobal(const char name[], const char value[]) +{ + + Var_Set(name, value, VAR_GLOBAL); +} + + +/** * Set the VAR_TO_ENV flag on a variable */ void |