summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 01:51:40 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 01:51:40 +0000
commit8297c0fbbac48d6ab379526a4bdf4506c4f9c887 (patch)
treee2af8943f2faadeab4a583a520648753e62798a5
parentc75c76aa3c6564b3720b6bda40c19ca9ba95648c (diff)
downloadmatriseq.lv2-8297c0fbbac48d6ab379526a4bdf4506c4f9c887.tar.gz
matriseq.lv2-8297c0fbbac48d6ab379526a4bdf4506c4f9c887.tar.bz2
matriseq.lv2-8297c0fbbac48d6ab379526a4bdf4506c4f9c887.zip
Fix prototypes and shadowing.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/matriseq@4633 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--matriseq.c6
1 files 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;