Skip to content
Commit 11ddad39 authored by Adrian Bunk's avatar Adrian Bunk Committed by Sam Ravnborg
Browse files

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent be2be1d5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment