Skip to content

Commit

Permalink
kconfig: make input_mode static
Browse files Browse the repository at this point in the history
Sparse reports:
  warning: symbol 'input_mode' was not declared. Should it be static?

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  • Loading branch information
masahir0y committed Jan 21, 2018
1 parent 6479f32 commit 52e58a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52e58a3

Please sign in to comment.