summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-03-22 12:52:00 +0000
committerharti <harti@FreeBSD.org>2005-03-22 12:52:00 +0000
commit3af42ed6aba91ffae2dc6b452e59f0b1ebd8e238 (patch)
tree9843ff455d2956e383cb0a5e0afeddbf4829da2f
parentd00a9bb878ce962b2c776f964d33da7de1d5794f (diff)
downloadFreeBSD-src-3af42ed6aba91ffae2dc6b452e59f0b1ebd8e238.zip
FreeBSD-src-3af42ed6aba91ffae2dc6b452e59f0b1ebd8e238.tar.gz
Remove debugging code that crept in in the last commit.
-rw-r--r--usr.bin/make/lst.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.bin/make/lst.h b/usr.bin/make/lst.h
index 736031f..68d7110 100644
--- a/usr.bin/make/lst.h
+++ b/usr.bin/make/lst.h
@@ -144,15 +144,8 @@ void Lst_Concat(Lst *, Lst *, int);
LstNode *Lst_Member(Lst *, void *);
/* Loop through a list. Note, that you may not delete the list element. */
-/*
#define LST_FOREACH(PTR, LST) \
for ((PTR) = (LST)->firstPtr; (PTR) != NULL; (PTR) = (PTR)->nextPtr)
-*/
-#define LST_FOREACH(PTR, LST) \
- for (LstNode *_tmp1 = (LST)->firstPtr, *_tmp2 = Lst_Succ(_tmp1);\
- ((PTR) = _tmp1) != NULL; \
- (Lst_Succ(_tmp1) != _tmp2 ? abort() : (void)0), \
- (_tmp1 = _tmp2), _tmp2 = Lst_Succ(_tmp1))
/*
* for using the list as a queue
OpenPOWER on IntegriCloud