make command line options const

The getopt_long call allows a const struct option, so mark ours
const too.
__archive__
Zachary T Welch 2009-11-15 03:53:19 -08:00
parent 91ac164d95
commit ccf59123b7
1 changed files with 1 additions and 1 deletions

View File

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