summaryrefslogtreecommitdiffstats
path: root/TraceScreen.c
diff options
context:
space:
mode:
authorRichard <rsaxvc@rsaxvc.net>2017-07-22 21:41:19 -0500
committerRichard <rsaxvc@rsaxvc.net>2017-07-22 22:34:30 -0500
commitd5faf643742ae047e327d41910232791bc7bca41 (patch)
tree0b678ca7858690e3898bf3b3268d175719e3aa3b /TraceScreen.c
parent18b3e5d255b580ea31e62889c4c1903d466ab0e6 (diff)
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.
Diffstat (limited to 'TraceScreen.c')
-rw-r--r--TraceScreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/TraceScreen.c b/TraceScreen.c
index 6bb2e041..2c9e3684 100644
--- a/TraceScreen.c
+++ b/TraceScreen.c
@@ -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};

© 2014-2024 Faster IT GmbH | imprint | privacy policy