diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-13 01:00:53 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-14 23:23:25 +0900 |
commit | 9b9f5948afcdf583cb1b58e0c4cc327aa1820f5a (patch) | |
tree | 05bc8d94235074234d00136dce470774e49dc49b /scripts | |
parent | b9d1a8e9302e68ee03571a286aadeb8041e0b2ca (diff) | |
download | linux-stable-9b9f5948afcdf583cb1b58e0c4cc327aa1820f5a.tar.gz linux-stable-9b9f5948afcdf583cb1b58e0c4cc327aa1820f5a.tar.bz2 linux-stable-9b9f5948afcdf583cb1b58e0c4cc327aa1820f5a.zip |
kconfig: make conf_get_autoconfig_name() static
This is only used in confdata.c
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/confdata.c | 2 | ||||
-rw-r--r-- | scripts/kconfig/lkc.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 8bb74d468f45..492ac3410147 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -226,7 +226,7 @@ const char *conf_get_configname(void) return name ? name : ".config"; } -const char *conf_get_autoconfig_name(void) +static const char *conf_get_autoconfig_name(void) { char *name = getenv("KCONFIG_AUTOCONFIG"); diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index d871539e4b45..cbc7658ee27d 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -49,7 +49,6 @@ const char *zconf_curname(void); /* confdata.c */ const char *conf_get_configname(void); -const char *conf_get_autoconfig_name(void); char *conf_get_default_confname(void); void sym_set_change_count(int count); void sym_add_change_count(int count); |