summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-26 18:10:47 +0100
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-12-04 16:00:37 -0500
commitb266264b09cc042bff34bb6ea09c2cc406da56c1 (patch)
treeab72881d3dd4307eaa5d3ee59d2a29d5bd99271e
parent605be2354c3e6f298db47c41fad87d507079c847 (diff)
downloadenlightenment-b266264b09cc042bff34bb6ea09c2cc406da56c1.tar.gz
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 da83487dd3..f882734779 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,
}
static Eina_Bool _pulse_connect(void *data);
-static void _disconnect_cb();
+static void _disconnect_cb(void);
static void
_pulse_pa_state_cb(pa_context *context, void *data)