Commit 43ac7110 authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: constify long_opts

getopt_long() does not modify the long_opts structure.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 042da426
......@@ -678,7 +678,7 @@ static void check_conf(struct menu *menu)
check_conf(child);
}
static struct option long_opts[] = {
static const struct option long_opts[] = {
{"help", no_argument, NULL, 'h'},
{"silent", no_argument, NULL, 's'},
{"oldaskconfig", no_argument, &input_mode_opt, oldaskconfig},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment