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

@ -43,9 +43,9 @@ typedef struct TraceScreen_ {
}*/
static const char* TraceScreenFunctions[] = {"Search ", "Filter ", "AutoScroll ", "Stop Tracing ", "Done ", NULL};
static const char* const TraceScreenFunctions[] = {"Search ", "Filter ", "AutoScroll ", "Stop Tracing ", "Done ", NULL};
static const char* TraceScreenKeys[] = {"F3", "F4", "F8", "F9", "Esc"};
static const char* const TraceScreenKeys[] = {"F3", "F4", "F8", "F9", "Esc"};
static int TraceScreenEvents[] = {KEY_F(3), KEY_F(4), KEY_F(8), KEY_F(9), 27};