Skip to content

Commit 52e58a3

Browse files
committed
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>
1 parent 6479f32 commit 52e58a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎scripts/kconfig/conf.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ enum input_mode {
3535
savedefconfig,
3636
listnewconfig,
3737
olddefconfig,
38-
} input_mode = oldaskconfig;
38+
};
39+
static enum input_mode input_mode = oldaskconfig;
3940

4041
static int indent = 1;
4142
static int tty_stdio;

0 commit comments

Comments
 (0)