diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index f2964a9c45..17b3c0214a 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -810,7 +810,9 @@ static const struct plugin_api rockbox_api = { | |||
810 | queue_remove_from_head, | 810 | queue_remove_from_head, |
811 | core_set_keyremap, | 811 | core_set_keyremap, |
812 | plugin_reserve_buffer, | 812 | plugin_reserve_buffer, |
813 | #ifdef HAVE_MULTIVOLUME | ||
813 | path_strip_volume, | 814 | path_strip_volume, |
815 | #endif | ||
814 | sys_poweroff, | 816 | sys_poweroff, |
815 | sys_reboot, | 817 | sys_reboot, |
816 | }; | 818 | }; |
diff --git a/apps/plugin.h b/apps/plugin.h index 1c3c59c6cc..89b8782cc7 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -937,7 +937,9 @@ struct plugin_api { | |||
937 | void (*queue_remove_from_head)(struct event_queue *q, long id); | 937 | void (*queue_remove_from_head)(struct event_queue *q, long id); |
938 | int (*core_set_keyremap)(struct button_mapping* core_keymap, int count); | 938 | int (*core_set_keyremap)(struct button_mapping* core_keymap, int count); |
939 | size_t (*plugin_reserve_buffer)(size_t buffer_size); | 939 | size_t (*plugin_reserve_buffer)(size_t buffer_size); |
940 | #ifdef HAVE_MULTIVOLUME | ||
940 | int (*path_strip_volume)(const char *name, const char **nameptr, bool greedy); | 941 | int (*path_strip_volume)(const char *name, const char **nameptr, bool greedy); |
942 | #endif | ||
941 | void (*sys_poweroff)(void); | 943 | void (*sys_poweroff)(void); |
942 | void (*sys_reboot)(void); | 944 | void (*sys_reboot)(void); |
943 | }; | 945 | }; |