make command line options const
The getopt_long call allows a const struct option, so mark ours const too.__archive__
parent
91ac164d95
commit
ccf59123b7
|
@ -32,7 +32,7 @@
|
|||
|
||||
static int help_flag, version_flag;
|
||||
|
||||
static struct option long_options[] =
|
||||
static const struct option long_options[] =
|
||||
{
|
||||
{"help", no_argument, &help_flag, 1},
|
||||
{"version", no_argument, &version_flag, 1},
|
||||
|
|
Loading…
Reference in New Issue