summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstRemove.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/lstRemove.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/lstRemove.c')
-rw-r--r--usr.bin/make/lst.lib/lstRemove.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/make/lst.lib/lstRemove.c b/usr.bin/make/lst.lib/lstRemove.c
index d11fcea..34d739b 100644
--- a/usr.bin/make/lst.lib/lstRemove.c
+++ b/usr.bin/make/lst.lib/lstRemove.c
@@ -108,8 +108,7 @@ Lst_Remove(Lst list, LstNode ln)
/*
* the only way firstPtr can still point to ln is if ln is the last
- * node on the list (the list is circular, so ln->nextptr == ln in
- * this case). The list is, therefore, empty and is marked as such
+ * node on the list. The list is, therefore, empty and is marked as such
*/
if (list->firstPtr == ln) {
list->firstPtr = NULL;
OpenPOWER on IntegriCloud