From f1d8c09f9170437ba1b86ba0cd77b7b3680a673c Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 11 Jan 2018 22:39:39 +0900 Subject: [PATCH] kconfig: make input_mode static Sparse reports: warning: symbol 'input_mode' was not declared. Should it be static? Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter --- config/conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/conf.c b/config/conf.c index 6be6143..7c2b7a7 100644 --- a/config/conf.c +++ b/config/conf.c @@ -34,7 +34,8 @@ enum input_mode { savedefconfig, listnewconfig, oldnoconfig, -} input_mode = oldaskconfig; +}; +static enum input_mode input_mode = oldaskconfig; static int indent = 1; static int tty_stdio; -- 2.31.1