projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16fabd5
)
kconfig: make input_mode static
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Thu, 11 Jan 2018 13:39:39 +0000
(22:39 +0900)
committer
Christian Lamparter
<chunkeey@gmail.com>
Sun, 10 Feb 2019 20:49:12 +0000
(21:49 +0100)
Sparse reports:
warning: symbol 'input_mode' was not declared. Should it be static?
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/conf.c
patch
|
blob
|
history
diff --git
a/config/conf.c
b/config/conf.c
index 6be614318782bfc3c2e3525a8ebc5ad94d775f70..7c2b7a7d0aff2d56dccd34360f17a9ded6756897 100644
(file)
--- 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;