Message ID | 20231203102528.1913822-2-masahiroy@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/6] kconfig: factor out common code shared by mconf and nconf | expand |
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);
This function is only used locally within menu.c. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> --- scripts/kconfig/lkc.h | 1 - scripts/kconfig/menu.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)