diff options
author | Ingo Bürk <admin@airblader.de> | 2018-07-16 16:18:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 16:18:06 +0200 |
commit | 639a67f752874142b1c081345fd36610e9046103 (patch) | |
tree | cdc94184dd55946a3dfba1657a5820c38a2924fb /src/pulse.c | |
parent | 0b25052cd0457736d45962d7f0ad057bbb648081 (diff) | |
parent | 3fd61f86dbbe5e0b1bce99836657f32feacce6eb (diff) |
Merge pull request #296 from Stunkymonkey/include-order
switch to clang 3.8 & ignore include sort order
Diffstat (limited to 'src/pulse.c')
-rw-r--r-- | src/pulse.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pulse.c b/src/pulse.c index 50999f7..66e6a3d 100644 --- a/src/pulse.c +++ b/src/pulse.c @@ -14,7 +14,8 @@ typedef struct indexed_volume_s { char *name; uint32_t idx; int volume; - TAILQ_ENTRY(indexed_volume_s) entries; + TAILQ_ENTRY(indexed_volume_s) + entries; } indexed_volume_t; static pa_threaded_mainloop *main_loop = NULL; @@ -23,7 +24,8 @@ static pa_mainloop_api *api = NULL; static bool context_ready = false; static bool mainloop_thread_running = false; static uint32_t default_sink_idx = DEFAULT_SINK_INDEX; -TAILQ_HEAD(tailhead, indexed_volume_s) cached_volume = +TAILQ_HEAD(tailhead, indexed_volume_s) +cached_volume = TAILQ_HEAD_INITIALIZER(cached_volume); static pthread_mutex_t pulse_mutex = PTHREAD_MUTEX_INITIALIZER; |