diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-12 23:03:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-12 23:03:04 +0100 |
commit | 73ae1fce001253677b7ab633f42d3c3300fe5cf5 (patch) | |
tree | 48e206cd2cf7dbed779d6a4cc77d55d73261305d /src/pulsecore/flist.h | |
parent | 15a3018bda8ee92393671ceaf272be418e95a81f (diff) |
once: make once related variables volatile
Diffstat (limited to 'src/pulsecore/flist.h')
-rw-r--r-- | src/pulsecore/flist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/flist.h b/src/pulsecore/flist.h index e147486e..184e5992 100644 --- a/src/pulsecore/flist.h +++ b/src/pulsecore/flist.h @@ -45,7 +45,7 @@ void* pa_flist_pop(pa_flist*l); #define PA_STATIC_FLIST_DECLARE(name, size, free_cb) \ static struct { \ - pa_flist *flist; \ + pa_flist *volatile flist; \ pa_once once; \ } name##_flist = { NULL, PA_ONCE_INIT }; \ static void name##_flist_init(void) { \ |