]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: make xfgets() really static
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 11 Jan 2018 13:39:40 +0000 (22:39 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 21 Jan 2018 15:49:30 +0000 (00:49 +0900)
commitf86810695f30e776ad2d5a52f48927f03d99afe8
tree764bad98a5d88c257b2cef77f1bd29751c1a852e
parent01927d5d637e0972a7f18504e8e2d56900e8b899
kconfig: make xfgets() really static

Sparse reports:
  warning: symbol 'xfgets' was not declared. Should it be static?

It is declared as static, but it is missing in the definition part.
Move the definition up and remove the forward declaration.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/conf.c