diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2005-02-02 07:36:18 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2005-02-02 07:36:18 +0000 |
| commit | ab9e1eb0503a0131bb9a8d825c7af55320467352 (patch) | |
| tree | 4825321dce7848eb1b15bd084d39df490dcc822d /usr.bin/make/cond.c | |
| parent | 0fac1537a28308d780f8e0e30d56c0428f54510d (diff) | |
Notes
Diffstat (limited to 'usr.bin/make/cond.c')
| -rw-r--r-- | usr.bin/make/cond.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c index a0f3dc13fa13..5d679294c92f 100644 --- a/usr.bin/make/cond.c +++ b/usr.bin/make/cond.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <stdlib.h> +#include "buf.h" #include "cond.h" #include "dir.h" #include "globals.h" @@ -189,7 +190,7 @@ CondGetArg(char **linePtr, char **argPtr, char *func, Boolean parens) { char *cp; size_t argLen; - Buffer buf; + Buffer *buf; cp = *linePtr; if (parens) { @@ -536,7 +537,7 @@ CondToken(Boolean doEval) if (!isspace((unsigned char)*condExpr) && strchr("!=><", *condExpr) == NULL) { - Buffer buf; + Buffer *buf; char *cp; buf = Buf_Init(0); @@ -605,7 +606,7 @@ do_compare: char *string; char *cp, *cp2; int qt; - Buffer buf; + Buffer *buf; do_string_compare: if (((*op != '!') && (*op != '=')) || (op[1] != '=')) { |
