summaryrefslogtreecommitdiffstats
path: root/apps/plugins/midi/midiplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/midiplay.c')
-rw-r--r--apps/plugins/midi/midiplay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c
index 52a538880c..d6cb15190e 100644
--- a/apps/plugins/midi/midiplay.c
+++ b/apps/plugins/midi/midiplay.c
@@ -97,6 +97,8 @@ int32_t gmbuf[BUF_SIZE*NBUF];
int quit=0;
struct plugin_api * rb;
+static int midimain(void * filename);
+
enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
{
int retval = 0;
@@ -134,7 +136,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
#if defined(HAVE_ADJUSTABLE_CPU_FREQ)
rb->cpu_boost(false);
#endif
-
rb->splash(HZ, "FINISHED PLAYING");
if(retval == -1)
@@ -196,7 +197,7 @@ void get_more(unsigned char** start, size_t* size)
#endif
}
-int midimain(void * filename)
+static int midimain(void * filename)
{
int notesUsed = 0;
int a=0;