From f50e7ffca93641ade7145b8f8682eddc30a248bb Mon Sep 17 00:00:00 2001 From: reynaldo Date: Thu, 6 Jul 2006 04:30:19 +0000 Subject: 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 --- libao2/ao_sgi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libao2/ao_sgi.c') 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); -- cgit v1.2.3