Get rid of the sequential access feature of the lists. This was
authorMax Okumoto <okumoto@dragonflybsd.org>
Fri, 17 Dec 2004 07:56:08 +0000 (07:56 +0000)
committerMax Okumoto <okumoto@dragonflybsd.org>
Fri, 17 Dec 2004 07:56:08 +0000 (07:56 +0000)
commit513bf0dbde6225af00ac9f7c9a535389d96cb9b9
tree56d247fa8d1dbf6b4322e2f1920372194e4f3184
parentd98710ab755239e63f5116578e8af2d43aac589f
Get rid of the sequential access feature of the lists. This was
used only in a couple of places and all of them except for one were
easily converted to use Lst_First/Lst_Succ. The one place is
compatibility mode in job.c where the it was used to advance to the
next command on each invocation of JobStart. For this case add a
pointer to the node to hold the currently executed command.

Take-from: FreeBSD
Author: harti
15 files changed:
usr.bin/make/Makefile
usr.bin/make/arch.c
usr.bin/make/dir.c
usr.bin/make/job.c
usr.bin/make/lst.h
usr.bin/make/lst.lib/lstClose.c [deleted file]
usr.bin/make/lst.lib/lstInit.c
usr.bin/make/lst.lib/lstIsAtEnd.c [deleted file]
usr.bin/make/lst.lib/lstNext.c [deleted file]
usr.bin/make/lst.lib/lstOpen.c [deleted file]
usr.bin/make/lst.lib/lstRemove.c
usr.bin/make/make.c
usr.bin/make/make.h
usr.bin/make/suff.c
usr.bin/make/targ.c