From f7d150a360be0730a0eeaf6ff5e787508e8ede0d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 8 Aug 2006 02:23:21 +0000 Subject: more sparse cleanups * less-commonly compiled things like ao/mvp outputs * Adding -Wno-transparent-union to SPARSE_FLAGS makes it check inside decode.c, directory.c, player.c, and sig_handlers.c * remove unused variables leftover from the master process in sig_handlers.c git-svn-id: https://svn.musicpd.org/mpd/trunk@4598 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_ao.c | 4 ++-- src/audioOutputs/audioOutput_mvp.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/audioOutputs') diff --git a/src/audioOutputs/audioOutput_ao.c b/src/audioOutputs/audioOutput_ao.c index c5f6c209c..e94a6e6b7 100644 --- a/src/audioOutputs/audioOutput_ao.c +++ b/src/audioOutputs/audioOutput_ao.c @@ -38,7 +38,7 @@ typedef struct _AoData { ao_device *device; } AoData; -static AoData *newAoData() +static AoData *newAoData(void) { AoData *ret = malloc(sizeof(AoData)); ret->device = NULL; @@ -47,7 +47,7 @@ static AoData *newAoData() return ret; } -static void audioOutputAo_error() +static void audioOutputAo_error(void) { if (errno == AO_ENOTLIVE) { ERROR("not a live ao device\n"); diff --git a/src/audioOutputs/audioOutput_mvp.c b/src/audioOutputs/audioOutput_mvp.c index b4d5a5d5b..b82b0a5b7 100644 --- a/src/audioOutputs/audioOutput_mvp.c +++ b/src/audioOutputs/audioOutput_mvp.c @@ -90,7 +90,7 @@ static int pcmfrequencies[][3] = { static int numfrequencies = sizeof(pcmfrequencies) / 12; -static int mvp_testDefault() +static int mvp_testDefault(void) { int fd; -- cgit v1.2.3