From e65ea2146d73aa6aedf8ef3fb0fd535039da6887 Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 7 Dec 2004 10:14:16 +0000 Subject: Make needs no circular lists so remove them from the list code. --- usr.bin/make/lst.lib/lstRemove.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/make/lst.lib/lstRemove.c') 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; -- cgit v1.1