summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/zconf.l
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-17 02:07:59 +0300
committerSam Ravnborg <sam@ravnborg.org>2008-07-30 22:29:50 +0200
commitbe2be1d59035a28debb22555f103e676a8f74186 (patch)
treece5f543a4d86e13cf4d93194556a8d07b9757fa9 /scripts/kconfig/zconf.l
parentea35455e0dc17d732436a5b98bd511cab64eb10e (diff)
downloadop-kernel-dev-be2be1d59035a28debb22555f103e676a8f74186.zip
op-kernel-dev-be2be1d59035a28debb22555f103e676a8f74186.tar.gz
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.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index 4cea5c8..5164ef7 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
%{
/*
OpenPOWER on IntegriCloud