Convert unnecessary static variables

They are not used in any other function and are not used maybe
uninitialized.
This commit is contained in:
Christian Göttsche
2021-01-09 14:31:07 +01:00
parent 4979245aa5
commit 6301d5c1da
2 changed files with 3 additions and 4 deletions

2
htop.c
View File

@ -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'},