diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-11 14:39:39 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-21 16:49:30 +0100 |
commit | 52e58a3caeba5d6029a9b6be02e4c883c22610ec (patch) | |
tree | 1a6abd2179babdfdb51cbeb7ad71f61d89db9bb1 /scripts | |
parent | kconfig: Warn if there is more than one help text (diff) | |
download | linux-52e58a3caeba5d6029a9b6be02e4c883c22610ec.tar.xz linux-52e58a3caeba5d6029a9b6be02e4c883c22610ec.zip |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 866369f10ff8..26156cb38ba0 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -35,7 +35,8 @@ enum input_mode { savedefconfig, listnewconfig, olddefconfig, -} input_mode = oldaskconfig; +}; +static enum input_mode input_mode = oldaskconfig; static int indent = 1; static int tty_stdio; |