kconfig: make input_mode static

Sparse reports:
  warning: symbol 'input_mode' was not declared. Should it be static?

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada
2018-01-11 22:39:39 +09:00
parent 6479f327de
commit 52e58a3cae

View File

@@ -35,7 +35,8 @@ enum input_mode {
savedefconfig, savedefconfig,
listnewconfig, listnewconfig,
olddefconfig, olddefconfig,
} input_mode = oldaskconfig; };
static enum input_mode input_mode = oldaskconfig;
static int indent = 1; static int indent = 1;
static int tty_stdio; static int tty_stdio;