summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/midifile.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/midifile.c')
-rw-r--r--apps/plugins/midi/midifile.c3
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
24struct Track * readTrack(int file); 25struct Track * readTrack(int file);
25int readID(int file); 26int readID(int file);
@@ -125,7 +126,7 @@ struct MIDIfile * loadFile(const char * filename)
125 126
126int rStatus = 0; 127int rStatus = 0;
127/* Returns 0 if done, 1 if keep going */ 128/* Returns 0 if done, 1 if keep going */
128int readEvent(int file, void * dest) 129static 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;