[2/6] kconfig: make menu_warn() static function
Commit Message
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(-)
@@ -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);
@@ -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);