mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
add const to const * strings
I don't think this will amke any difference except maybe for hosted ports Change-Id: I84f898aea92a6963901a6d889dd18b63f24c9a41
This commit is contained in:
parent
4dd3c2b33e
commit
79864c6ec2
14 changed files with 25 additions and 25 deletions
|
@ -1395,7 +1395,7 @@ int split_string(char *str, const char split_char, char *vector[], const int vec
|
|||
/* returns match index from option list
|
||||
* returns -1 if option was not found
|
||||
* option list is array of char pointers with the final item set to null
|
||||
* ex - const char *option[] = { "op_a", "op_b", "op_c", NULL}
|
||||
* ex - const char * const option[] = { "op_a", "op_b", "op_c", NULL}
|
||||
*/
|
||||
int string_option(const char *option, const char *const oplist[], bool ignore_case)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue