Skip to content

Commit

Permalink
kconfig: make conf_get_autoconfig_name() static
Browse files Browse the repository at this point in the history
This is only used in confdata.c

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  • Loading branch information
Masahiro Yamada committed May 14, 2019
1 parent b9d1a8e commit 9b9f594
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/kconfig/confdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
1 change: 0 additions & 1 deletion scripts/kconfig/lkc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b9f594

Please sign in to comment.