silence warning for ancient libc users&devs :)
authorRobin Gareus <robin@gareus.org>
Sun, 27 Oct 2013 16:03:49 +0000 (17:03 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 27 Oct 2013 16:03:49 +0000 (17:03 +0100)
string.h 'index' is a global declaration
marked legacy in 2001 and removed in posix.1-2008

libs/plugins/reasonablesynth.lv2/lv2.c

index 1fcfba868e0496cbb71614244e92aa363d6b548c..b29590c78aa9af4cd3e921aa0da17ac72c3b1376 100644 (file)
@@ -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: