summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2018-07-08 13:59:21 +0200
committerFelix Buehler <account@buehler.rocks>2018-07-13 15:11:43 +0200
commitd099a907f6d8255a0d41e1e3fb476722f3ff2673 (patch)
tree5cc051a32a8397fa07e5b137fe63c60f98059070 /src
parenta40d7d928f2a24dcb4b9eeae0997f143f4651191 (diff)
fix clang errors
Diffstat (limited to 'src')
-rw-r--r--src/pulse.c6
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;