summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lkc.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-13 20:48:30 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 08:20:14 +0200
commit98f8475c78697f6c1155f93d3a346d9027deb5aa (patch)
tree4503f6e27ff92314ea4d604cf602e94b2f68bc56 /scripts/kconfig/lkc.h
parentkconfig: move conf_rewrite_mod_or_yes() to conf.c (diff)
downloadlinux-98f8475c78697f6c1155f93d3a346d9027deb5aa.tar.xz
linux-98f8475c78697f6c1155f93d3a346d9027deb5aa.zip
kconfig: move conf_set_all_new_symbols() to conf.c
This function is only used in conf.c. Move it there together with the randomize_choice_values() helper. Define 'enum conf_def_mode' locally in conf.c as well. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r--scripts/kconfig/lkc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index f946ab49ef50..1c15e3c98bdf 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -34,16 +34,6 @@ static inline const char *CONFIG_prefix(void)
#undef CONFIG_
#define CONFIG_ CONFIG_prefix()
-enum conf_def_mode {
- def_default,
- def_yes,
- def_mod,
- def_y2m,
- def_m2y,
- def_no,
- def_random
-};
-
extern int yylineno;
void zconfdump(FILE *out);
void zconf_starthelp(void);
@@ -57,7 +47,6 @@ const char *zconf_curname(void);
const char *conf_get_configname(void);
void sym_set_change_count(int count);
void sym_add_change_count(int count);
-bool conf_set_all_new_symbols(enum conf_def_mode mode);
void set_all_choice_values(struct symbol *csym);
/* confdata.c and expr.c */