summaryrefslogtreecommitdiff
path: root/src/audio.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-08-20 00:50:44 +0000
committerAvuton Olrich <avuton@gmail.com>2006-08-20 00:50:44 +0000
commitf79a70d1b9bab78fca515ac9142607ce2414e333 (patch)
tree9b851a6298a000e1feee859f430c9ccc5c297ddd /src/audio.h
parent9caade4eb11bc930f618650918db8b60b912c961 (diff)
Fix warnings for -Wmissing-prototypes
Add -Wmissing-prototypes if compiling with gcc Static where possible git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audio.h')
-rw-r--r--src/audio.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/audio.h b/src/audio.h
index 7a811d9db..d2703ce4f 100644
--- a/src/audio.h
+++ b/src/audio.h
@@ -45,23 +45,23 @@ void getOutputAudioFormat(AudioFormat * inFormat, AudioFormat * outFormat);
int parseAudioConfig(AudioFormat * audioFormat, char *conf);
/* make sure initPlayerData is called before this function!! */
-void initAudioConfig();
+void initAudioConfig(void);
-void finishAudioConfig();
+void finishAudioConfig(void);
-void initAudioDriver();
+void initAudioDriver(void);
-void finishAudioDriver();
+void finishAudioDriver(void);
int openAudioDevice(AudioFormat * audioFormat);
int playAudio(char *playChunk, int size);
-void dropBufferedAudio();
+void dropBufferedAudio(void);
-void closeAudioDevice();
+void closeAudioDevice(void);
-int isAudioDeviceOpen();
+int isAudioDeviceOpen(void);
int isCurrentAudioFormat(AudioFormat * audioFormat);
@@ -79,5 +79,5 @@ void readAudioDevicesState(FILE *fp);
void saveAudioDevicesState(FILE *fp);
-void loadAudioDrivers();
+void loadAudioDrivers(void);
#endif