summaryrefslogtreecommitdiffstats
path: root/libao2/ao_sgi.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-06 04:30:19 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-06 04:30:19 +0000
commitf50e7ffca93641ade7145b8f8682eddc30a248bb (patch)
tree528b0f7f4fe55261a8d275d52d3f1a2342d8d318 /libao2/ao_sgi.c
parent4aa477ef2cfb2973e87e9d0662fe1c4e6946f120 (diff)
downloadmpv-f50e7ffca93641ade7145b8f8682eddc30a248bb.tar.bz2
mpv-f50e7ffca93641ade7145b8f8682eddc30a248bb.tar.xz
modifies function declarations without parameters from ()
to the correct (void). Only files in libao2 are affected. patch by Stefan Huehner stefan AT huehner-org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18920 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_sgi.c')
-rw-r--r--libao2/ao_sgi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libao2/ao_sgi.c b/libao2/ao_sgi.c
index e7ef5c675d..91326eb374 100644
--- a/libao2/ao_sgi.c
+++ b/libao2/ao_sgi.c
@@ -224,7 +224,7 @@ static void uninit(int immed) {
}
// stop playing and empty buffers (for seeking/pause)
-static void reset() {
+static void reset(void) {
mp_msg(MSGT_AO, MSGL_INFO, MSGTR_AO_SGI_Reset);
@@ -232,21 +232,21 @@ static void reset() {
}
// stop playing, keep buffers (for pause)
-static void audio_pause() {
+static void audio_pause(void) {
mp_msg(MSGT_AO, MSGL_INFO, MSGTR_AO_SGI_PauseInfo);
}
// resume playing, after audio_pause()
-static void audio_resume() {
+static void audio_resume(void) {
mp_msg(MSGT_AO, MSGL_INFO, MSGTR_AO_SGI_ResumeInfo);
}
// return: how many bytes can be played without blocking
-static int get_space() {
+static int get_space(void) {
// printf("ao_sgi, get_space: (ao_outburst %d)\n", ao_data.outburst);
// printf("ao_sgi, get_space: alGetFillable [%d] \n", alGetFillable(ao_port));
@@ -283,7 +283,7 @@ static int play(void* data, int len, int flags) {
}
// return: delay in seconds between first and last sample in buffer
-static float get_delay(){
+static float get_delay(void){
// printf("ao_sgi, get_delay: (ao_buffersize %d)\n", ao_buffersize);