summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-09 14:31:07 +0100
committerChristian Göttsche <cgzones@googlemail.com>2021-01-09 14:31:07 +0100
commit6301d5c1dafe7776796d6fc93d33772d17f28bb1 (patch)
tree136c7aa7aa36175229807dba5fa6ee2960745b7e /htop.c
parent4979245aa569154897e941867420a94740213689 (diff)
Convert unnecessary static variables
They are not used in any other function and are not used maybe uninitialized.
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htop.c b/htop.c
index 1ff73c53..00ff1dab 100644
--- a/htop.c
+++ b/htop.c
@@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
.highlightDelaySecs = -1,
};
- static struct option long_opts[] =
+ const struct option long_opts[] =
{
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},

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