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

kconfig: constify long_opts



getopt_long() does not modify the long_opts structure.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 042da426
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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},