summaryrefslogtreecommitdiff
path: root/libs/plugins
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-10-27 17:03:49 +0100
committerRobin Gareus <robin@gareus.org>2013-10-27 17:03:49 +0100
commit17dc72d08e048493b7201ddaa551a93c204a9db1 (patch)
tree147004480aea768282586237d7bedc6a66219050 /libs/plugins
parent2cad99bf39348222ef554c5134c7950e49afabb5 (diff)
silence warning for ancient libc users&devs :)
string.h 'index' is a global declaration marked legacy in 2001 and removed in posix.1-2008
Diffstat (limited to 'libs/plugins')
-rw-r--r--libs/plugins/reasonablesynth.lv2/lv2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/plugins/reasonablesynth.lv2/lv2.c b/libs/plugins/reasonablesynth.lv2/lv2.c
index 1fcfba868e..b29590c78a 100644
--- a/libs/plugins/reasonablesynth.lv2/lv2.c
+++ b/libs/plugins/reasonablesynth.lv2/lv2.c
@@ -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: