aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;