summaryrefslogtreecommitdiffstats
path: root/pulse/pulse.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-21 23:30:23 +0200
committerLennart Poettering <lennart@poettering.net>2008-09-03 20:25:35 +0200
commit2c3cc4cca7d829c90b44f1bd8b5392e763b9cea1 (patch)
tree074395b08f2aafe79ccce855ad8ef93cca782460 /pulse/pulse.c
parente5b760950a05220edce9f074525522d7144f28b4 (diff)
Make pulse_new() a proper C function
C functions taking no argument need a (void) as argument list. It's C++ where () is allowed too.
Diffstat (limited to 'pulse/pulse.c')
-rw-r--r--pulse/pulse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pulse/pulse.c b/pulse/pulse.c
index 56ccb2e..81ea443 100644
--- a/pulse/pulse.c
+++ b/pulse/pulse.c
@@ -124,7 +124,7 @@ static void context_state_cb(pa_context * c, void *userdata)
}
}
-snd_pulse_t *pulse_new()
+snd_pulse_t *pulse_new(void)
{
snd_pulse_t *p;
int fd[2] = { -1, -1 };