diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-17 02:07:59 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-30 22:29:50 +0200 |
commit | be2be1d59035a28debb22555f103e676a8f74186 (patch) | |
tree | ce5f543a4d86e13cf4d93194556a8d07b9757fa9 /scripts/kconfig/zconf.l | |
parent | ea35455e0dc17d732436a5b98bd511cab64eb10e (diff) | |
download | linux-be2be1d59035a28debb22555f103e676a8f74186.tar.gz linux-be2be1d59035a28debb22555f103e676a8f74186.tar.bz2 linux-be2be1d59035a28debb22555f103e676a8f74186.zip |
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>
Diffstat (limited to 'scripts/kconfig/zconf.l')
-rw-r--r-- | scripts/kconfig/zconf.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l index 4cea5c85cd0a..5164ef7ce499 100644 --- a/scripts/kconfig/zconf.l +++ b/scripts/kconfig/zconf.l @@ -1,5 +1,6 @@ %option backup nostdinit noyywrap never-interactive full ecs %option 8bit backup nodefault perf-report perf-report +%option noinput %x COMMAND HELP STRING PARAM %{ /* |