ソースを参照

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>
Masahiro Yamada 8 年 前
コミット
52e58a3cae
1 ファイル変更2 行追加1 行削除
  1. 2 1
      scripts/kconfig/conf.c

+ 2 - 1
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;