kbuild: scripts/genksyms/lex.l: add %option noinput
authorAdrian Bunk <bunk@kernel.org>
Wed, 16 Jul 2008 23:08:12 +0000 (02:08 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 30 Jul 2008 20:31:02 +0000 (22:31 +0200)
commit11ddad396086f8d1dfcb0056dc9d65d228f755c1
tree6d2ebc9fab7ca8aa1a9eb4245c323df2515756e1
parentbe2be1d59035a28debb22555f103e676a8f74186
kbuild: scripts/genksyms/lex.l: add %option noinput

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

<--  snip  -->

...
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c:1487: warning: ‘input’ defined but not used
...

<--  snip  -->

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

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/genksyms/lex.c_shipped
scripts/genksyms/lex.l