From 8297c0fbbac48d6ab379526a4bdf4506c4f9c887 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 01:51:40 +0000 Subject: Fix prototypes and shadowing. git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/matriseq@4633 a436a847-0d15-0410-975c-d299462d15a1 --- matriseq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matriseq.c b/matriseq.c index a83fad9..1834d4a 100644 --- a/matriseq.c +++ b/matriseq.c @@ -391,10 +391,10 @@ run(LV2_Handle instance, uint32_t n_frames) // Send note ons for enabled notes this step for (uint32_t y = 0; y < SEQ_H; ++y) { if (self->seq[y][step]) { - const uint8_t ev[] = { 0x90, NOTE_MIN + y, 0x40 }; + const uint8_t on[] = { 0x90, NOTE_MIN + y, 0x40 }; lv2_atom_forge_frame_time(&self->forge, t); lv2_atom_forge_atom(&self->forge, 3, self->uris.midi_MidiEvent); - lv2_atom_forge_write(&self->forge, ev, 3); + lv2_atom_forge_write(&self->forge, on, 3); } } } @@ -424,7 +424,7 @@ cleanup(LV2_Handle instance) free(self); } -const void* +static const void* extension_data(const char* uri) { return NULL; -- cgit v1.2.1