diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-12 23:03:04 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-02-09 22:31:30 +0000 |
commit | 7f7455b1be68d2ff5706ccf85eff1a96f7c43d34 (patch) | |
tree | bd31a5f4767cb457a34b5f13701d97a992879a78 /src/pulsecore/flist.h | |
parent | 66ddeede9ea02cc97178d42c7be18067519eed8f (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) { \ |