diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg-metro.lv2/metro.c | 2 | ||||
-rw-r--r-- | plugins/eg-params.lv2/params.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-metro.lv2/metro.c b/plugins/eg-metro.lv2/metro.c index 87a9029..7ffea24 100644 --- a/plugins/eg-metro.lv2/metro.c +++ b/plugins/eg-metro.lv2/metro.c @@ -346,7 +346,7 @@ static const LV2_Descriptor descriptor = { }; LV2_SYMBOL_EXPORT const LV2_Descriptor* - lv2_descriptor(uint32_t index) +lv2_descriptor(uint32_t index) { return index == 0 ? &descriptor : NULL; } diff --git a/plugins/eg-params.lv2/params.c b/plugins/eg-params.lv2/params.c index 56c39cd..8b96aa4 100644 --- a/plugins/eg-params.lv2/params.c +++ b/plugins/eg-params.lv2/params.c @@ -527,7 +527,7 @@ static const LV2_Descriptor descriptor = {EG_PARAMS_URI, extension_data}; LV2_SYMBOL_EXPORT const LV2_Descriptor* - lv2_descriptor(uint32_t index) +lv2_descriptor(uint32_t index) { return (index == 0) ? &descriptor : NULL; } |