diff options
author | 2014-06-26 23:41:33 +0400 | |
---|---|---|
committer | 2014-06-26 23:41:33 +0400 | |
commit | 3031fb0b877495e98233b2728cbb4a2bf5dbbe11 (patch) | |
tree | ef30b5623ec593531184e7cd02c6bbafb5364fa1 /plugins/ao/eng_dsf | |
parent | 96bab4b5e72f2e044a95962f6c33a8c1f912c01f (diff) |
ao: fixed BSD linking issues
Diffstat (limited to 'plugins/ao/eng_dsf')
-rw-r--r-- | plugins/ao/eng_dsf/aica.c | 4 | ||||
-rw-r--r-- | plugins/ao/eng_dsf/aicalfo.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ao/eng_dsf/aica.c b/plugins/ao/eng_dsf/aica.c index f504d647..02831699 100644 --- a/plugins/ao/eng_dsf/aica.c +++ b/plugins/ao/eng_dsf/aica.c @@ -402,7 +402,7 @@ void InitADPCM(int *PrevSignal, int *PrevQuant) *PrevQuant=0x7f; } -INLINE signed short DecodeADPCM(int *PrevSignal, unsigned char Delta, int *PrevQuant) +static INLINE signed short DecodeADPCM(int *PrevSignal, unsigned char Delta, int *PrevQuant) { int x = *PrevQuant * quant_mul [Delta & 15]; x = *PrevSignal + ((int)(x + ((UINT32)x >> 29)) >> 3); @@ -957,7 +957,7 @@ void AICA_TimersAddTicks(struct _AICA *AICA, int ticks) } } -INLINE INT32 AICA_UpdateSlot(struct _AICA *AICA, struct _SLOT *slot) +static INLINE INT32 AICA_UpdateSlot(struct _AICA *AICA, struct _SLOT *slot) { INT32 sample, fpart; int cur_sample; //current sample diff --git a/plugins/ao/eng_dsf/aicalfo.c b/plugins/ao/eng_dsf/aicalfo.c index 9af2ae54..cc1ea1cc 100644 --- a/plugins/ao/eng_dsf/aicalfo.c +++ b/plugins/ao/eng_dsf/aicalfo.c @@ -103,7 +103,7 @@ void AICALFO_Init(void) } } -signed int INLINE AICAPLFO_Step(struct _LFO *LFO) +static signed int INLINE AICAPLFO_Step(struct _LFO *LFO) { int p; @@ -116,7 +116,7 @@ signed int INLINE AICAPLFO_Step(struct _LFO *LFO) return p<<(SHIFT-LFO_SHIFT); } -signed int INLINE AICAALFO_Step(struct _LFO *LFO) +static signed int INLINE AICAALFO_Step(struct _LFO *LFO) { int p; LFO->phase+=LFO->phase_step; |