Mark some things as const

Several string pointer arrays pointed to const strings
but were not const themselves.

A few various structures and arrays were also marked const.
This commit is contained in:
Richard
2017-07-22 21:41:19 -05:00
parent 18b3e5d255
commit d5faf64374
15 changed files with 34 additions and 34 deletions

View File

@ -50,9 +50,9 @@ struct InfoScreen_ {
};
}*/
static const char* InfoScreenFunctions[] = {"Search ", "Filter ", "Refresh", "Done ", NULL};
static const char* const InfoScreenFunctions[] = {"Search ", "Filter ", "Refresh", "Done ", NULL};
static const char* InfoScreenKeys[] = {"F3", "F4", "F5", "Esc"};
static const char* const InfoScreenKeys[] = {"F3", "F4", "F5", "Esc"};
static int InfoScreenEvents[] = {KEY_F(3), KEY_F(4), KEY_F(5), 27};