summaryrefslogtreecommitdiff
path: root/apps/plugins/shortcuts/shortcuts_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/shortcuts/shortcuts_view.c')
-rw-r--r--apps/plugins/shortcuts/shortcuts_view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/shortcuts/shortcuts_view.c b/apps/plugins/shortcuts/shortcuts_view.c
index f6a26a519d..b964968737 100644
--- a/apps/plugins/shortcuts/shortcuts_view.c
+++ b/apps/plugins/shortcuts/shortcuts_view.c
@@ -40,8 +40,8 @@ static bool usb_connected = false;
40enum sc_list_action_type draw_sc_list(struct gui_synclist *gui_sc); 40enum sc_list_action_type draw_sc_list(struct gui_synclist *gui_sc);
41 41
42/* Will be passed sc_file* as data */ 42/* Will be passed sc_file* as data */
43char* build_sc_list(int selected_item, void *data, 43static const char* build_sc_list(int selected_item, void *data,
44 char *buffer, size_t buffer_len); 44 char *buffer, size_t buffer_len);
45 45
46/* Returns true iff we should leave the main loop */ 46/* Returns true iff we should leave the main loop */
47bool list_sc(void); 47bool list_sc(void);
@@ -89,8 +89,8 @@ enum sc_list_action_type draw_sc_list(struct gui_synclist *gui_sc)
89} 89}
90 90
91 91
92char* build_sc_list(int selected_item, void *data, 92static const char* build_sc_list(int selected_item, void *data,
93 char *buffer, size_t buffer_len) 93 char *buffer, size_t buffer_len)
94{ 94{
95 sc_file_t *file = (sc_file_t*)data; 95 sc_file_t *file = (sc_file_t*)data;
96 96