summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/lv2ext/lv2-midifunctions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/lv2ext/lv2-midifunctions.h b/src/common/lv2ext/lv2-midifunctions.h
index 0d309853..0f47ca5d 100644
--- a/src/common/lv2ext/lv2-midifunctions.h
+++ b/src/common/lv2ext/lv2-midifunctions.h
@@ -52,7 +52,7 @@ typedef struct {
} LV2_MIDIState;
-static LV2_MIDI* lv2midi_new(uint32_t capacity)
+inline static LV2_MIDI* lv2midi_new(uint32_t capacity)
{
LV2_MIDI* midi = (LV2_MIDI*)malloc(sizeof(LV2_MIDI));