From: Masahiro Yamada Date: Sun, 12 May 2019 16:00:53 +0000 (+0900) Subject: kconfig: make conf_get_autoconfig_name() static X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=fcd2962f05220e69124436a67cb9f93b46b6cf14;p=carl9170fw.git kconfig: make conf_get_autoconfig_name() static This is only used in confdata.c Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter --- diff --git a/config/confdata.c b/config/confdata.c index e8ede23..24b7e46 100644 --- a/config/confdata.c +++ b/config/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/config/lkc.h b/config/lkc.h index d871539..cbc7658 100644 --- a/config/lkc.h +++ b/config/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);