summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2017-07-26 11:24:51 -0300
committerGitHub <noreply@github.com>2017-07-26 11:24:51 -0300
commitef7817c17a35dd5f8d9eb9ee65539e52d2fdb410 (patch)
treec932359d63a4d2ec16da0b1b9b221d0e81008eb3 /Action.c
parent33fda932713de9db236d63098d88529f669fc49c (diff)
parentd5faf643742ae047e327d41910232791bc7bca41 (diff)
Merge pull request #656 from rsaxvc/master
more const usage
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Action.c b/Action.c
index f5d7de43..391716a5 100644
--- a/Action.c
+++ b/Action.c
@@ -381,7 +381,7 @@ static Htop_Reaction actionRedraw() {
return HTOP_REFRESH | HTOP_REDRAW_BAR;
}
-static struct { const char* key; const char* info; } helpLeft[] = {
+static const struct { const char* key; const char* info; } helpLeft[] = {
{ .key = " Arrows: ", .info = "scroll process list" },
{ .key = " Digits: ", .info = "incremental PID search" },
{ .key = " F3 /: ", .info = "incremental name search" },
@@ -399,7 +399,7 @@ static struct { const char* key; const char* info; } helpLeft[] = {
{ .key = NULL, .info = NULL }
};
-static struct { const char* key; const char* info; } helpRight[] = {
+static const struct { const char* key; const char* info; } helpRight[] = {
{ .key = " Space: ", .info = "tag process" },
{ .key = " c: ", .info = "tag process and its children" },
{ .key = " U: ", .info = "untag all processes" },

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