diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-21 23:30:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-03 20:25:35 +0200 |
commit | 2c3cc4cca7d829c90b44f1bd8b5392e763b9cea1 (patch) | |
tree | 074395b08f2aafe79ccce855ad8ef93cca782460 /pulse/pulse.c | |
parent | e5b760950a05220edce9f074525522d7144f28b4 (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.c | 2 |
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 }; |