From 8a832592ce11ab5f5c94757893e5f7353808bee1 Mon Sep 17 00:00:00 2001 From: harti Date: Thu, 12 May 2005 14:31:42 +0000 Subject: Move variable printing from main.c to var.c Submitted by: Max Okumoto (7.233) --- usr.bin/make/var.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/make/var.h') 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); -- cgit v1.1