This function is only used locally within menu.c. Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> --- scripts/kconfig/lkc.h | 1 - scripts/kconfig/menu.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 471a59acecec..3908741edf8f 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -80,7 +80,6 @@ char *str_get(struct gstr *gs); /* menu.c */ void _menu_init(void); -void menu_warn(struct menu *menu, const char *fmt, ...); struct menu *menu_add_menu(void); void menu_end_menu(void); void menu_add_entry(struct symbol *sym); diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 61c442d84aef..f07c0d8691af 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c @@ -19,7 +19,7 @@ static struct menu **last_entry_ptr; struct file *file_list; struct file *current_file; -void menu_warn(struct menu *menu, const char *fmt, ...) +static void menu_warn(struct menu *menu, const char *fmt, ...) { va_list ap; va_start(ap, fmt); -- 2.40.1