diff options
Diffstat (limited to 'apps/plugins/midi/midifile.c')
-rw-r--r-- | apps/plugins/midi/midifile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/midi/midifile.c b/apps/plugins/midi/midifile.c index 536a7bbea1..86544fd944 100644 --- a/apps/plugins/midi/midifile.c +++ b/apps/plugins/midi/midifile.c | |||
@@ -20,6 +20,7 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | #include "midiutil.h" | 22 | #include "midiutil.h" |
23 | #include "midifile.h" | ||
23 | 24 | ||
24 | struct Track * readTrack(int file); | 25 | struct Track * readTrack(int file); |
25 | int readID(int file); | 26 | int readID(int file); |
@@ -125,7 +126,7 @@ struct MIDIfile * loadFile(const char * filename) | |||
125 | 126 | ||
126 | int rStatus = 0; | 127 | int rStatus = 0; |
127 | /* Returns 0 if done, 1 if keep going */ | 128 | /* Returns 0 if done, 1 if keep going */ |
128 | int readEvent(int file, void * dest) | 129 | static int readEvent(int file, void * dest) |
129 | { | 130 | { |
130 | struct Event dummy; | 131 | struct Event dummy; |
131 | struct Event * ev = (struct Event *) dest; | 132 | struct Event * ev = (struct Event *) dest; |