diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-10-01 07:32:48 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-10-11 16:13:23 +0200 |
commit | 80f7bc7737630fb1b2c4f440fc7627337bd2f605 (patch) | |
tree | 52ade169fa4f653ca1c36f04590b4ae0337bbc75 /scripts/kconfig/lkc_proto.h | |
parent | kconfig: refactor listnewconfig code (diff) | |
download | linux-80f7bc7737630fb1b2c4f440fc7627337bd2f605.tar.xz linux-80f7bc7737630fb1b2c4f440fc7627337bd2f605.zip |
kconfig: move sym_escape_string_value() to confdata.c
Now that sym_escape_string_value() is only used in confdata.c
it can be a 'static' function.
Rename it escape_string_value() because it is agnostic about
(struct sym *).
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lkc_proto.h')
-rw-r--r-- | scripts/kconfig/lkc_proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/lkc_proto.h b/scripts/kconfig/lkc_proto.h index ec4a01bb60ce..edd1e617b25c 100644 --- a/scripts/kconfig/lkc_proto.h +++ b/scripts/kconfig/lkc_proto.h @@ -18,7 +18,6 @@ extern struct symbol * symbol_hash[SYMBOL_HASHSIZE]; struct symbol * sym_lookup(const char *name, int flags); struct symbol * sym_find(const char *name); -char *sym_escape_string_value(const char *in); void print_symbol_for_listconfig(struct symbol *sym); struct symbol ** sym_re_search(const char *pattern); const char * sym_type_name(enum symbol_type type); |