summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstInit.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-12-07 10:14:16 +0000
committerharti <harti@FreeBSD.org>2004-12-07 10:14:16 +0000
commite65ea2146d73aa6aedf8ef3fb0fd535039da6887 (patch)
treedc544ee893c2b95a0e4d64009cb9fe98b5598e7c /usr.bin/make/lst.lib/lstInit.c
parent4a639d6164f667049cce0046d22e760ca1aad3f2 (diff)
downloadFreeBSD-src-e65ea2146d73aa6aedf8ef3fb0fd535039da6887.zip
FreeBSD-src-e65ea2146d73aa6aedf8ef3fb0fd535039da6887.tar.gz
Make needs no circular lists so remove them from the list code.
Diffstat (limited to 'usr.bin/make/lst.lib/lstInit.c')
-rw-r--r--usr.bin/make/lst.lib/lstInit.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/make/lst.lib/lstInit.c b/usr.bin/make/lst.lib/lstInit.c
index 57059a3..f2cdf22 100644
--- a/usr.bin/make/lst.lib/lstInit.c
+++ b/usr.bin/make/lst.lib/lstInit.c
@@ -57,16 +57,13 @@ __FBSDID("$FreeBSD$");
* Results:
* The created list.
*
- * Arguments:
- * circ TRUE if the list should be made circular
- *
* Side Effects:
* A list is created, what else?
*
*-----------------------------------------------------------------------
*/
Lst
-Lst_Init(Boolean circ)
+Lst_Init(void)
{
Lst nList;
@@ -75,7 +72,6 @@ Lst_Init(Boolean circ)
nList->firstPtr = NULL;
nList->lastPtr = NULL;
nList->isOpen = FALSE;
- nList->isCirc = circ;
nList->atEnd = LstUnknown;
return (nList);
OpenPOWER on IntegriCloud