Skip to content

Commit 9b9f594

Browse files
committed
kconfig: make conf_get_autoconfig_name() static
This is only used in confdata.c Signed-off-by: Masahiro Yamada <[email protected]>
1 parent b9d1a8e commit 9b9f594

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

scripts/kconfig/confdata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ const char *conf_get_configname(void)
226226
return name ? name : ".config";
227227
}
228228

229-
const char *conf_get_autoconfig_name(void)
229+
static const char *conf_get_autoconfig_name(void)
230230
{
231231
char *name = getenv("KCONFIG_AUTOCONFIG");
232232

scripts/kconfig/lkc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const char *zconf_curname(void);
4949

5050
/* confdata.c */
5151
const char *conf_get_configname(void);
52-
const char *conf_get_autoconfig_name(void);
5352
char *conf_get_default_confname(void);
5453
void sym_set_change_count(int count);
5554
void sym_add_change_count(int count);

0 commit comments

Comments
 (0)