diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-12-18 02:11:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-12-18 02:11:29 +0000 |
commit | 6fab9b498b27116f5e67c44c0b1764a3f51090f4 (patch) | |
tree | 34701340e8b64498cc68fbd27ef2bb2f14eaaa5f /usr.bin/make/lst.lib/lstInit.c | |
parent | c1a30f380cfd306ea4402c76a549f35a11685b55 (diff) |
make does not use circular lists, get rid of the extra weight.
Diffstat (limited to 'usr.bin/make/lst.lib/lstInit.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstInit.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/make/lst.lib/lstInit.c b/usr.bin/make/lst.lib/lstInit.c index 9a6f2b235af..0be8d012920 100644 --- a/usr.bin/make/lst.lib/lstInit.c +++ b/usr.bin/make/lst.lib/lstInit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lstInit.c,v 1.4 1998/12/05 00:06:32 espie Exp $ */ +/* $OpenBSD: lstInit.c,v 1.5 1999/12/18 02:11:27 espie Exp $ */ /* $NetBSD: lstInit.c,v 1.5 1996/11/06 17:59:43 christos Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)lstInit.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: lstInit.c,v 1.4 1998/12/05 00:06:32 espie Exp $"; +static char rcsid[] = "$OpenBSD: lstInit.c,v 1.5 1999/12/18 02:11:27 espie Exp $"; #endif #endif /* not lint */ @@ -66,8 +66,7 @@ static char rcsid[] = "$OpenBSD: lstInit.c,v 1.4 1998/12/05 00:06:32 espie Exp $ *----------------------------------------------------------------------- */ Lst -Lst_Init(circ) - Boolean circ; /* TRUE if the list should be made circular */ +Lst_Init() { register List nList; @@ -76,7 +75,6 @@ Lst_Init(circ) nList->firstPtr = NilListNode; nList->lastPtr = NilListNode; nList->isOpen = FALSE; - nList->isCirc = circ; nList->atEnd = Unknown; return ((Lst)nList); |