summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pulsecore/llist.h3
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