[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rockbox-cvs
Subject:    Fix red in 3fcdadce24
From:       rockbox-gerrit-noreply--- via rockbox-cvs <rockbox-cvs () lists ! haxx ! se>
Date:       2022-04-16 14:41:20
Message-ID: 202204161441.23GEfKjn1296911 () archos ! rockbox ! org
[Download RAW message or body]

commit 76035decc6496bd8b28e1f5f814b00f850ad2957
Author: Aidan MacDonald <amachronic@protonmail.com>
Date:   Sat Apr 16 15:39:56 2022 +0100

    Fix red in 3fcdadce24
    
    Change-Id: Idbee52505b3c109a0aad23e2edf7dd78519eb173

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);
 };
-- 
rockbox-cvs mailing list
rockbox-cvs@lists.haxx.se
https://lists.haxx.se/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic