summaryrefslogtreecommitdiff
path: root/usr.bin/make/for.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-12-18 02:11:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-12-18 02:11:29 +0000
commit6fab9b498b27116f5e67c44c0b1764a3f51090f4 (patch)
tree34701340e8b64498cc68fbd27ef2bb2f14eaaa5f /usr.bin/make/for.c
parentc1a30f380cfd306ea4402c76a549f35a11685b55 (diff)
make does not use circular lists, get rid of the extra weight.
Diffstat (limited to 'usr.bin/make/for.c')
-rw-r--r--usr.bin/make/for.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c
index ba4f89459f5..a2fbb4c5ba4 100644
--- a/usr.bin/make/for.c
+++ b/usr.bin/make/for.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: for.c,v 1.13 1999/12/16 17:27:18 espie Exp $ */
+/* $OpenBSD: for.c,v 1.14 1999/12/18 02:11:26 espie Exp $ */
/* $NetBSD: for.c,v 1.4 1996/11/06 17:59:05 christos Exp $ */
/*
@@ -82,7 +82,7 @@
#if 0
static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: for.c,v 1.13 1999/12/16 17:27:18 espie Exp $";
+static char rcsid[] = "$OpenBSD: for.c,v 1.14 1999/12/18 02:11:26 espie Exp $";
#endif
#endif /* not lint */
@@ -202,7 +202,7 @@ For_Eval(line)
if (DEBUG(FOR))
(void)fprintf(stderr, "For: Iterator %s List %s\n", arg->var, sub);
- arg->lst = Lst_Init(FALSE);
+ arg->lst = Lst_Init();
build_words_list(arg->lst, sub);
free(sub);
arg->lineno = Parse_Getlineno();