From: Masahiro Yamada Date: Thu, 11 Jan 2018 13:39:39 +0000 (+0900) Subject: kconfig: make input_mode static X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f1d8c09f9170437ba1b86ba0cd77b7b3680a673c;p=carl9170fw.git 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 --- 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;