Date: Wed, 13 Aug 2003 11:37:25 -0700 (PDT) From: Bosko Milekic <bmilekic@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys queue.h Message-ID: <200308131837.h7DIbPnC055260@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bmilekic 2003/08/13 11:37:25 PDT
FreeBSD src repository
Modified files:
sys/sys queue.h
Log:
Add LIST_FOREACH_SAFE, which is like LIST_FOREACH but allows you
to walk the list and remove the current item and destroy/free it.
Alexander Kabaev will likely do the equivalent for the other list
types, but I just happened to have this one sitting in a local
non-FreeBSD tree already.
Revision Changes Path
1.55 +7 -0 src/sys/sys/queue.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308131837.h7DIbPnC055260>
