diff options
author | harti <harti@FreeBSD.org> | 2005-05-12 14:31:42 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-12 14:31:42 +0000 |
commit | 8a832592ce11ab5f5c94757893e5f7353808bee1 (patch) | |
tree | 4063d4c37b93bccf895ea505b1cd72847fc1b684 /usr.bin/make/var.h | |
parent | e7ab78380c4d30d28dbf699ac0bffeb881f56c83 (diff) | |
download | FreeBSD-src-8a832592ce11ab5f5c94757893e5f7353808bee1.zip FreeBSD-src-8a832592ce11ab5f5c94757893e5f7353808bee1.tar.gz |
Move variable printing from main.c to var.c
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.233)
Diffstat (limited to 'usr.bin/make/var.h')
-rw-r--r-- | usr.bin/make/var.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/make/var.h b/usr.bin/make/var.h index 51e8412..d4f1b4e 100644 --- a/usr.bin/make/var.h +++ b/usr.bin/make/var.h @@ -42,8 +42,9 @@ #ifndef var_h_9cccafce #define var_h_9cccafce -struct GNode; struct Buffer; +struct GNode; +struct List; /* Variables defined in a global context, e.g in the Makefile itself */ extern struct GNode *VAR_GLOBAL; @@ -73,6 +74,7 @@ Boolean Var_Exists(const char *, struct GNode *); void Var_Init(char **); size_t Var_Match(const char [], struct GNode *); char *Var_Parse(const char *, struct GNode *, Boolean, size_t *, Boolean *); +void Var_Print(struct Lst *, Boolean); void Var_Set(const char *, const char *, struct GNode *); void Var_SetEnv(const char *, struct GNode *); struct Buffer *Var_Subst(const char *, struct GNode *, Boolean); |