summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/midiplay.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-09-30 11:21:25 +0000
committerNils Wallménius <nils@rockbox.org>2007-09-30 11:21:25 +0000
commit6386dbe861bc3395dff1bca5b98e8cbe33ddc703 (patch)
tree0ab9bd6c105cac6ec0a77673fb2b60badd756302 /apps/plugins/midi/midiplay.c
parente108964ec08f70a46e1db430288283d68a906c56 (diff)
static/inline/iram raid gives nice speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14915 a1c6a512-1295-4272-9138-f99709370657
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;