aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-11 08:39:39 -0500
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-21 10:49:30 -0500
commit52e58a3caeba5d6029a9b6be02e4c883c22610ec (patch)
tree1a6abd2179babdfdb51cbeb7ad71f61d89db9bb1 /scripts
parent6479f327dea60ddc2be065c7d174273fb4837f03 (diff)
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.c3
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 {
35 savedefconfig, 35 savedefconfig,
36 listnewconfig, 36 listnewconfig,
37 olddefconfig, 37 olddefconfig,
38} input_mode = oldaskconfig; 38};
39static enum input_mode input_mode = oldaskconfig;
39 40
40static int indent = 1; 41static int indent = 1;
41static int tty_stdio; 42static int tty_stdio;