]> err.no Git - linux-2.6/commit
kconfig: scripts/kconfig/zconf.l: add %option noinput
authorAdrian Bunk <bunk@kernel.org>
Wed, 16 Jul 2008 23:07:59 +0000 (02:07 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 30 Jul 2008 20:29:50 +0000 (22:29 +0200)
commitbe2be1d59035a28debb22555f103e676a8f74186
treece5f543a4d86e13cf4d93194556a8d07b9757fa9
parentea35455e0dc17d732436a5b98bd511cab64eb10e
kconfig: scripts/kconfig/zconf.l: add %option noinput

gcc 4.3 correctly determines that input() is unused and gives the
following warning:

<--  snip  -->

...
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/lex.zconf.c:1628: warning: ‘input’ defined but not used
...

<--  snip  -->

Fix it by adding %option noinput to scripts/kconfig/zconf.l and
regeneration of scripts/kconfig/lex.zconf.c_shipped.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/lex.zconf.c_shipped
scripts/kconfig/zconf.l