diff options
| author | Lennart Poettering <lennart@poettering.net> | 2009-04-21 21:23:53 +0200 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2009-04-21 21:23:53 +0200 | 
| commit | 12065f326ab62b396cbcbca3c5fd9e7d66162da2 (patch) | |
| tree | b893d89ae085d6107f518261ba88726f3059fcf7 /src | |
| parent | 8fbf6269b340dd5c920bf90c8dc5f0da4bc062f3 (diff) | |
llist: add PA_LLIST_FOREACH
Diffstat (limited to 'src')
| -rw-r--r-- | src/pulsecore/llist.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/pulsecore/llist.h b/src/pulsecore/llist.h index 77a1749f..58b51c68 100644 --- a/src/pulsecore/llist.h +++ b/src/pulsecore/llist.h @@ -104,4 +104,7 @@          }                                                               \      } while (0) +#define PA_LLIST_FOREACH(i,head)                                        \ +    for (i = (head); i; i = i->next) +  #endif | 
