diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-05-03 22:54:33 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-05-03 23:00:58 -0400 |
commit | 79864c6ec22370ae31d3259a17e0c93db3cdae61 (patch) | |
tree | 6de3a54700d84db34eab150740006dd74d359cd2 /apps/shortcuts.c | |
parent | 4dd3c2b33ec3d181f54cc1bcf5b596401a8cfcbb (diff) | |
download | rockbox-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.c | 2 |
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 | ||