diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-04-16 15:39:56 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-04-16 10:41:19 -0400 |
commit | 76035decc6496bd8b28e1f5f814b00f850ad2957 (patch) | |
tree | ddae7dba71f78c671b383b43ce950daeefaef762 | |
parent | f989339664f9e25633920a308a2792ce6ac0f453 (diff) | |
download | rockbox-76035decc6.tar.gz rockbox-76035decc6.zip |
Fix red in 3fcdadce24
Change-Id: Idbee52505b3c109a0aad23e2edf7dd78519eb173
-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 = { queue_remove_from_head, core_set_keyremap, plugin_reserve_buffer, +#ifdef HAVE_MULTIVOLUME path_strip_volume, +#endif sys_poweroff, sys_reboot, }; 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 { void (*queue_remove_from_head)(struct event_queue *q, long id); int (*core_set_keyremap)(struct button_mapping* core_keymap, int count); size_t (*plugin_reserve_buffer)(size_t buffer_size); +#ifdef HAVE_MULTIVOLUME int (*path_strip_volume)(const char *name, const char **nameptr, bool greedy); +#endif void (*sys_poweroff)(void); void (*sys_reboot)(void); }; |