From 10e6ea21a3f08a08634ae4994b92d5e7ba56a331 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 10 May 2020 07:17:15 +0200 Subject: [PATCH] Put this behind HAVE_ACCESSIBILITY ifdef --- menu/menu_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/menu_driver.c b/menu/menu_driver.c index 5e38dcd3fa..4240436654 100644 --- a/menu/menu_driver.c +++ b/menu/menu_driver.c @@ -145,6 +145,7 @@ static enum action_iterate_type action_iterate_type(const char *label) return ITERATE_TYPE_DEFAULT; } +#ifdef HAVE_ACCESSIBILITY static void get_current_menu_value(char* retstr, size_t max) { const char* entry_label; @@ -171,7 +172,6 @@ static void get_current_menu_label(char* retstr, size_t max) strlcpy(retstr, entry_label, max); } - static void get_current_menu_sublabel(char* retstr, size_t max) { const char* entry_sublabel; @@ -184,6 +184,7 @@ static void get_current_menu_sublabel(char* retstr, size_t max) menu_entry_get_sublabel(&entry, &entry_sublabel); strlcpy(retstr, entry_sublabel, max); } +#endif /** * menu_iterate: