diff options
author | 2015-12-12 08:58:57 +0100 | |
---|---|---|
committer | 2015-12-12 08:58:57 +0100 | |
commit | 379581fb3690d92f7e3815534a479823aee8ddcc (patch) | |
tree | 77b4a080ba46ba58bfd8382926580cb2aad5a69d /src/lib/formats/kc_cas.cpp | |
parent | afe2bbe6481acf518e384509586ada235e106c54 (diff) |
macro removal INLINE -> static inline (nw)
Diffstat (limited to 'src/lib/formats/kc_cas.cpp')
-rw-r--r-- | src/lib/formats/kc_cas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |