aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-08-08 02:23:21 +0000
committerEric Wong <normalperson@yhbt.net>2006-08-08 02:23:21 +0000
commitf7d150a360be0730a0eeaf6ff5e787508e8ede0d (patch)
treefc8852dac991da5673dc6c05e015b4f6042aa645 /src/audioOutputs
parent6395edab6997cf09b9cb4bb296be66cd49866547 (diff)
downloadmpd-f7d150a360be0730a0eeaf6ff5e787508e8ede0d.tar.gz
mpd-f7d150a360be0730a0eeaf6ff5e787508e8ede0d.tar.xz
mpd-f7d150a360be0730a0eeaf6ff5e787508e8ede0d.zip
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
Diffstat (limited to 'src/audioOutputs')
-rw-r--r--src/audioOutputs/audioOutput_ao.c4
-rw-r--r--src/audioOutputs/audioOutput_mvp.c2
2 files changed, 3 insertions, 3 deletions
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;