mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Add missing "static const" to long options table.
This table is only used in this C file and passed to getopt_long(), so we can safely add static and const to it.
This commit is contained in:
parent
516c8ed9dd
commit
8375d51296
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228395
@ -166,7 +166,7 @@ usage(void)
|
||||
|
||||
static const char *optstr = "0123456789A:B:C:D:EFGHIJMLOPSRUVZabcd:e:f:hilm:nopqrsuvwxXy";
|
||||
|
||||
struct option long_options[] =
|
||||
static const struct option long_options[] =
|
||||
{
|
||||
{"binary-files", required_argument, NULL, BIN_OPT},
|
||||
{"help", no_argument, NULL, HELP_OPT},
|
||||
|
Loading…
Reference in New Issue
Block a user