diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-17 01:08:12 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-30 22:31:02 +0200 |
commit | 11ddad396086f8d1dfcb0056dc9d65d228f755c1 (patch) | |
tree | 6d2ebc9fab7ca8aa1a9eb4245c323df2515756e1 /scripts/genksyms/lex.l | |
parent | kconfig: scripts/kconfig/zconf.l: add %option noinput (diff) | |
download | linux-11ddad396086f8d1dfcb0056dc9d65d228f755c1.tar.xz linux-11ddad396086f8d1dfcb0056dc9d65d228f755c1.zip |
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>
Diffstat (limited to 'scripts/genksyms/lex.l')
-rw-r--r-- | scripts/genksyms/lex.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l index 5e544a06678b..fe50ff9dacd0 100644 --- a/scripts/genksyms/lex.l +++ b/scripts/genksyms/lex.l @@ -62,6 +62,8 @@ MC_TOKEN ([~%^&*+=|<>/-]=)|(&&)|("||")|(->)|(<<)|(>>) /* We don't do multiple input files. */ %option noyywrap +%option noinput + %% |