aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioOutputs')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c4
-rw-r--r--src/audioOutputs/audioOutput_oss.c4
-rw-r--r--src/audioOutputs/audioOutput_shout.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index 3abd81f31..51531c5f0 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -54,7 +54,7 @@ typedef struct _AlsaData {
int canResume;
} AlsaData;
-static AlsaData * newAlsaData() {
+static AlsaData * newAlsaData(void) {
AlsaData * ret = malloc(sizeof(AlsaData));
ret->device = NULL;
@@ -100,7 +100,7 @@ static void alsa_finishDriver(AudioOutput * audioOutput) {
freeAlsaData(ad);
}
-static int alsa_testDefault()
+static int alsa_testDefault(void)
{
snd_pcm_t * handle;
diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c
index 3b52b9807..ce049a14a 100644
--- a/src/audioOutputs/audioOutput_oss.c
+++ b/src/audioOutputs/audioOutput_oss.c
@@ -226,7 +226,7 @@ static void unsupportParam(OssData * od, int param, int val) {
addUnsupportedParam(od, param, val);
}
-static OssData * newOssData() {
+static OssData * newOssData(void) {
OssData * ret = malloc(sizeof(OssData));
ret->device = NULL;
@@ -298,7 +298,7 @@ static int oss_statDevice(char * device, int * stErrno) {
return 0;
}
-static int oss_testDefault() {
+static int oss_testDefault(void) {
int fd;
fd = open("/dev/sound/dsp", O_WRONLY);
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 889166903..6fb40ea7b 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -72,7 +72,7 @@ typedef struct _ShoutData {
AudioFormat * audioFormat;
} ShoutData;
-static ShoutData * newShoutData() {
+static ShoutData * newShoutData(void) {
ShoutData * ret = malloc(sizeof(ShoutData));
ret->shoutConn = shout_new();