Add TAILQ_FOREACH_SAFE (Jan Kiszka)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 25 Nov 2008 22:05:37 +0000 (22:05 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 25 Nov 2008 22:05:37 +0000 (22:05 +0000)
commit9d95223e6b817f299e92faa1bf94d4e7195406d3
treef525d8f53556300eec6bf95f77a51c1f4f08fced
parentecf137387571cdb402cefc226c0ee5d10b1f56ec
Add TAILQ_FOREACH_SAFE (Jan Kiszka)

Add TAILQ iterator that allows to safely remove elements while walking
the list.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5798 c046a42c-6fe2-441c-8c8c-71466251a162
sys-queue.h