From 122fe646235067bae2a620f877a6d76af067d7f3 Mon Sep 17 00:00:00 2001 From: zakk Date: Fri, 2 Sep 2005 20:13:47 +0000 Subject: Cleanups from pomac! git-svn-id: svn://svn.icculus.org/quake3/trunk@67 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_cin.c | 6 +++--- code/client/client.h | 4 ++-- code/client/snd_dma.c | 6 +++--- code/client/snd_local.h | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'code/client') diff --git a/code/client/cl_cin.c b/code/client/cl_cin.c index 21bb6b8..a061d4f 100644 --- a/code/client/cl_cin.c +++ b/code/client/cl_cin.c @@ -175,7 +175,7 @@ extern int CL_ScaledMilliseconds(void); // // Returns: Nothing //----------------------------------------------------------------------------- -static void RllSetupTable() +static void RllSetupTable( void ) { int z; @@ -1106,7 +1106,7 @@ static void RoQPrepMcomp( long xoff, long yoff ) * ******************************************************************************/ -static void initRoQ() +static void initRoQ( void ) { if (currentHandle < 0) return; @@ -1140,7 +1140,7 @@ static byte* RoQFetchInterlaced( byte *source ) { return cinTable[currentHandle].buf2; } */ -static void RoQReset() { +static void RoQReset( void ) { if (currentHandle < 0) return; diff --git a/code/client/client.h b/code/client/client.h index f188f4b..1398619 100644 --- a/code/client/client.h +++ b/code/client/client.h @@ -507,8 +507,8 @@ void CL_InitUI( void ); void CL_ShutdownUI( void ); int Key_GetCatcher( void ); void Key_SetCatcher( int catcher ); -void LAN_LoadCachedServers(); -void LAN_SaveServersToCache(); +void LAN_LoadCachedServers( void ); +void LAN_SaveServersToCache( void ); // diff --git a/code/client/snd_dma.c b/code/client/snd_dma.c index aae87ec..9b271ab 100644 --- a/code/client/snd_dma.c +++ b/code/client/snd_dma.c @@ -36,7 +36,7 @@ void S_Play_f(void); void S_SoundList_f(void); void S_Music_f(void); -void S_Update_(); +void S_Update_( void ); void S_StopAllSounds(void); void S_UpdateBackgroundTrack( void ); @@ -193,7 +193,7 @@ void S_ChannelFree(channel_t *v) { freelist = (channel_t*)v; } -channel_t* S_ChannelMalloc() { +channel_t* S_ChannelMalloc( void ) { channel_t *v; if (freelist == NULL) { return NULL; @@ -204,7 +204,7 @@ channel_t* S_ChannelMalloc() { return v; } -void S_ChannelSetup() { +void S_ChannelSetup( void ) { channel_t *p, *q; // clear all the sounds so they don't diff --git a/code/client/snd_local.h b/code/client/snd_local.h index 466c52b..da2d5db 100644 --- a/code/client/snd_local.h +++ b/code/client/snd_local.h @@ -167,13 +167,13 @@ extern cvar_t *s_separation; qboolean S_LoadSound( sfx_t *sfx ); void SND_free(sndBuffer *v); -sndBuffer* SND_malloc(); -void SND_setup(); +sndBuffer* SND_malloc( void ); +void SND_setup( void ); void S_PaintChannels(int endtime); void S_memoryLoad(sfx_t *sfx); -portable_samplepair_t *S_GetRawSamplePointer(); +portable_samplepair_t *S_GetRawSamplePointer( void ); // spatializes a channel void S_Spatialize(channel_t *ch); @@ -188,7 +188,7 @@ void S_AdpcmGetSamples(sndBuffer *chunk, short *to); #define SENTINEL_MULAW_ZERO_RUN 127 #define SENTINEL_MULAW_FOUR_BIT_RUN 126 -void S_FreeOldestSound(); +void S_FreeOldestSound( void ); #define NXStream byte -- cgit v1.2.3