diff options
author | 2008-09-26 05:25:11 +0000 | |
---|---|---|
committer | 2008-09-26 05:25:11 +0000 | |
commit | 0f3e79564d97f0b97344681372035b865604f4b4 (patch) | |
tree | b561ab334f306f93851fbc669b371fc151e07e95 /src/emu/sound/multipcm.c | |
parent | 844dca9402ead33a957e38c156fc4a3dfa0539cf (diff) |
From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, September 21, 2008 10:45 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More static qualifiers
Hi mamedev,
Another static function update from yours truly, almost entirely
affecting code added in the last few months to MAME. The fixes are
the usual lot, changing enum definitions so they aren't declared,
decorating dead code/declarations with #if...#endif, and of course,
adding static where appropriate. In addition, I fixed a bunch of
UNUSED_FUNCTON symbols to be spelled correctly (I didn't introduce
this).
~aa
Diffstat (limited to 'src/emu/sound/multipcm.c')
-rw-r--r-- | src/emu/sound/multipcm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/multipcm.c b/src/emu/sound/multipcm.c index 933caccac0e..39cb1f47f6f 100644 --- a/src/emu/sound/multipcm.c +++ b/src/emu/sound/multipcm.c @@ -182,7 +182,7 @@ static int EG_Update(struct _SLOT *slot) return lin2expvol[slot->EG.volume>>EG_SHIFT]; } -unsigned int Get_RATE(unsigned int *Steps,unsigned int rate,unsigned int val) +static unsigned int Get_RATE(unsigned int *Steps,unsigned int rate,unsigned int val) { int r=4*val+rate; if(val==0) @@ -312,7 +312,7 @@ static void LFO_ComputeStep(struct _MultiPCM *ptChip,struct _LFO *LFO,UINT32 LFO -void WriteSlot(struct _MultiPCM *ptChip,struct _SLOT *slot,int reg,unsigned char data) +static void WriteSlot(struct _MultiPCM *ptChip,struct _SLOT *slot,int reg,unsigned char data) { slot->Regs[reg]=data; @@ -481,7 +481,7 @@ static void MultiPCM_update(void *param, stream_sample_t **inputs, stream_sample } } -unsigned char multi_pcm_reg_r(int chip, int offset) +static unsigned char multi_pcm_reg_r(int chip, int offset) { // struct _MultiPCM *ptChip = sndti_token(SOUND_MULTIPCM, chip); return 0; |