mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
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:
parent
2cad99bf39
commit
17dc72d08e
1 changed files with 2 additions and 2 deletions
|
|
@ -185,9 +185,9 @@ static const LV2_Descriptor descriptor = {
|
||||||
|
|
||||||
LV2_SYMBOL_EXPORT
|
LV2_SYMBOL_EXPORT
|
||||||
const LV2_Descriptor*
|
const LV2_Descriptor*
|
||||||
lv2_descriptor(uint32_t index)
|
lv2_descriptor(uint32_t idx)
|
||||||
{
|
{
|
||||||
switch (index) {
|
switch (idx) {
|
||||||
case 0:
|
case 0:
|
||||||
return &descriptor;
|
return &descriptor;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue