summaryrefslogtreecommitdiff
path: root/apps/shortcuts.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-05-03 22:54:33 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2022-05-03 23:00:58 -0400
commit79864c6ec22370ae31d3259a17e0c93db3cdae61 (patch)
tree6de3a54700d84db34eab150740006dd74d359cd2 /apps/shortcuts.c
parent4dd3c2b33ec3d181f54cc1bcf5b596401a8cfcbb (diff)
downloadrockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.tar.gz
rockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.zip
add const to const * strings
I don't think this will amke any difference except maybe for hosted ports Change-Id: I84f898aea92a6963901a6d889dd18b63f24c9a41
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r--apps/shortcuts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c
index 754bd83b80..2b032f1fd4 100644
--- a/apps/shortcuts.c
+++ b/apps/shortcuts.c
@@ -312,7 +312,7 @@ static int readline_cb(int n, char *buf, void *parameters)
312 } 312 }
313 else if (sc && settings_parseline(buf, &name, &value)) 313 else if (sc && settings_parseline(buf, &name, &value))
314 { 314 {
315 static const char *nm_options[] = {"type", "name", "data", 315 static const char * const nm_options[] = {"type", "name", "data",
316 "icon", "talkclip", NULL}; 316 "icon", "talkclip", NULL};
317 int nm_op = string_option(name, nm_options, false); 317 int nm_op = string_option(name, nm_options, false);
318 318