silence warning for ancient libc users&devs :)
string.h 'index' is a global declaration marked legacy in 2001 and removed in posix.1-2008
This commit is contained in:
@@ -185,9 +185,9 @@ static const LV2_Descriptor descriptor = {
|
||||
|
||||
LV2_SYMBOL_EXPORT
|
||||
const LV2_Descriptor*
|
||||
lv2_descriptor(uint32_t index)
|
||||
lv2_descriptor(uint32_t idx)
|
||||
{
|
||||
switch (index) {
|
||||
switch (idx) {
|
||||
case 0:
|
||||
return &descriptor;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user