diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-02 16:58:06 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 10:20:40 +0100 |
commit | d3d16228a520ce49884d3bb90b67c12726c63020 (patch) | |
tree | cce05ab391fc5dacc51f3106dd92c499ea45e54e /scripts/kconfig/lkc_proto.h | |
parent | kconfig: call env_write_dep() right after yyparse() (diff) | |
download | linux-d3d16228a520ce49884d3bb90b67c12726c63020.tar.xz linux-d3d16228a520ce49884d3bb90b67c12726c63020.zip |
kconfig: split preprocessor prototypes into preprocess.h
These are needed only for the parse stage. Move the prototypes into
a separate header to make sure they are not used after that.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lkc_proto.h')
-rw-r--r-- | scripts/kconfig/lkc_proto.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/kconfig/lkc_proto.h b/scripts/kconfig/lkc_proto.h index 85491d74a094..94299e42402f 100644 --- a/scripts/kconfig/lkc_proto.h +++ b/scripts/kconfig/lkc_proto.h @@ -40,19 +40,6 @@ const char * sym_get_string_value(struct symbol *sym); const char * prop_get_type_name(enum prop_type type); -/* preprocess.c */ -enum variable_flavor { - VAR_SIMPLE, - VAR_RECURSIVE, - VAR_APPEND, -}; -void env_write_dep(struct gstr *gs); -void variable_add(const char *name, const char *value, - enum variable_flavor flavor); -void variable_all_del(void); -char *expand_dollar(const char **str); -char *expand_one_token(const char **str); - /* expr.c */ void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken); |