From 379581fb3690d92f7e3815534a479823aee8ddcc Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 12 Dec 2015 08:58:57 +0100 Subject: macro removal INLINE -> static inline (nw) --- src/lib/formats/kc_cas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/formats/kc_cas.cpp') diff --git a/src/lib/formats/kc_cas.cpp b/src/lib/formats/kc_cas.cpp index 40e261aed7f..3e3d36e3f8b 100644 --- a/src/lib/formats/kc_cas.cpp +++ b/src/lib/formats/kc_cas.cpp @@ -43,7 +43,7 @@ static int kc_image_size; /******************************************************************* Generate one high-low cycle of sample data ********************************************************************/ -INLINE int kc_cas_cycle(INT16 *buffer, int sample_pos, int len) +static inline int kc_cas_cycle(INT16 *buffer, int sample_pos, int len) { int num_samples = KC_WAV_FREQUENCY / (len * 2); @@ -63,7 +63,7 @@ INLINE int kc_cas_cycle(INT16 *buffer, int sample_pos, int len) /******************************************************************* Generate n samples of silence ********************************************************************/ -INLINE int kc_cas_silence(INT16 *buffer, int sample_pos, int len) +static inline int kc_cas_silence(INT16 *buffer, int sample_pos, int len) { int i = 0; @@ -78,7 +78,7 @@ INLINE int kc_cas_silence(INT16 *buffer, int sample_pos, int len) /******************************************************************* Generate samples for 1 byte ********************************************************************/ -INLINE int kc_cas_byte(INT16 *buffer, int sample_pos, UINT8 data) +static inline int kc_cas_byte(INT16 *buffer, int sample_pos, UINT8 data) { int samples = 0; -- cgit v1.2.3-70-g09d2