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:
William Wilgus 2022-05-03 22:54:33 -04:00 committed by William Wilgus
parent 4dd3c2b33e
commit 79864c6ec2
14 changed files with 25 additions and 25 deletions

View file

@ -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)
{