From 2c3cc4cca7d829c90b44f1bd8b5392e763b9cea1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 Aug 2008 23:30:23 +0200 Subject: 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. --- pulse/pulse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pulse/pulse.c') 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 }; -- cgit