summaryrefslogtreecommitdiffstats
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index f9f1c53617..856dd6e1cb 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -282,6 +282,7 @@ static const struct plugin_api rockbox_api = {
reload_directory,
create_numbered_filename,
file_exists,
+ strip_extension,
/* dir */
opendir,
@@ -292,6 +293,9 @@ static const struct plugin_api rockbox_api = {
dir_exists,
/* kernel/ system */
+#ifdef CPU_ARM
+ __div0,
+#endif
PREFIX(sleep),
yield,
&current_tick,
@@ -627,10 +631,6 @@ static const struct plugin_api rockbox_api = {
appsversion,
/* new stuff at the end, sort into place next time
the API gets incompatible */
-#ifdef CPU_ARM
- __div0,
-#endif
- strip_extension
};
int plugin_load(const char* plugin, const void* parameter)