mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
make PA_LLIST_HEAD_INIT thread safe
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1258 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1c3bfc44dc
commit
99db0672c7
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#define PA_LLIST_FIELDS(t) t *next, *prev
|
||||
|
||||
/* Initialize the list's head */
|
||||
#define PA_LLIST_HEAD_INIT(t,item) do { (item) = NULL; } while(0)
|
||||
#define PA_LLIST_HEAD_INIT(t,item) do { (item) = (t*) NULL; } while(0)
|
||||
|
||||
/* Initialize a list item */
|
||||
#define PA_LLIST_INIT(t,item) do { \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue