llist: add PA_LLIST_FOREACH

This commit is contained in:
Lennart Poettering 2009-04-21 21:23:53 +02:00
parent 8fbf6269b3
commit 12065f326a

View file

@ -104,4 +104,7 @@
} \
} while (0)
#define PA_LLIST_FOREACH(i,head) \
for (i = (head); i; i = i->next)
#endif