summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-26 18:10:47 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-26 18:10:47 +0100
commit7ed23817227bf0595c8f376e23c573b1f8cd7969 (patch)
tree7250ac9409f2272b92ffd23c463ebf4bd65efbb3
parent01a4a24f34d720cf703ce3806e41b3e12a888c6b (diff)
pulse backend: correct declaration of function with no parameters
We have to use void in a function declaration if we want no function parameters. Using just empty parenthesis means the function takes an unspecified number of parameters. We had it correct for most declarations and this series fixes it for the rest. Thanks for the sparse semantic parser for pointing this out.
-rw-r--r--src/modules/mixer/lib/backends/pulseaudio/pulse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mixer/lib/backends/pulseaudio/pulse.c b/src/modules/mixer/lib/backends/pulseaudio/pulse.c
index da83487dd..f88273477 100644
--- a/src/modules/mixer/lib/backends/pulseaudio/pulse.c
+++ b/src/modules/mixer/lib/backends/pulseaudio/pulse.c
@@ -672,7 +672,7 @@ _subscribe_cb(pa_context *c, pa_subscription_event_type_t t,
672} 672}
673 673
674static Eina_Bool _pulse_connect(void *data); 674static Eina_Bool _pulse_connect(void *data);
675static void _disconnect_cb(); 675static void _disconnect_cb(void);
676 676
677static void 677static void
678_pulse_pa_state_cb(pa_context *context, void *data) 678_pulse_pa_state_cb(pa_context *context, void *data)