diff options
author | waker <wakeroid@gmail.com> | 2012-04-23 22:10:03 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-04-23 22:10:03 +0200 |
commit | 9bed24b48feec51db9cff6aee2d7860dce8187b6 (patch) | |
tree | 13a71f08cb2479cd413b3b65f441363045976719 | |
parent | 4422fdd20ac771bd5dbb45b261ed796a68a94853 (diff) |
wildmidi: fixed possible inline linking errors
-rw-r--r-- | plugins/wildmidi/src/wildmidi_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/wildmidi/src/wildmidi_lib.c b/plugins/wildmidi/src/wildmidi_lib.c index 66a2ca4a..d870877c 100644 --- a/plugins/wildmidi/src/wildmidi_lib.c +++ b/plugins/wildmidi/src/wildmidi_lib.c @@ -671,7 +671,7 @@ WM_BufferFile (const char *filename, unsigned long int *size) { return data; } -inline void +static inline void WM_Lock (int * wmlock) { LOCK_START: if (__builtin_expect(((*wmlock) == 0),1)) { @@ -689,7 +689,7 @@ WM_Lock (int * wmlock) { goto LOCK_START; } -inline void +static inline void WM_Unlock (int *wmlock) { (*wmlock)--; } @@ -2498,7 +2498,7 @@ do_note_off (unsigned char ch, struct _mdi *mdi, unsigned long int ptr) { return; } -inline unsigned long int +static inline unsigned long int get_inc (struct _mdi *mdi, struct _note *nte) { int ch = nte->noteid >> 8; signed long int note_f; @@ -2519,7 +2519,7 @@ get_inc (struct _mdi *mdi, struct _note *nte) { return (((freq / ((WM_SampleRate * 100) / 1024)) * 1024 / nte->sample->inc_div)); } -inline signed short int +static inline signed short int get_volume(struct _mdi *mdi, unsigned char ch, struct _note *nte) { signed long int volume; |