summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dtc-lexer.l
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2009-10-17 00:52:06 +0200
committerJosh Triplett <josh@joshtriplett.org>2009-11-16 00:01:41 +0100
commit23c4ace526fe9c5f9a4b1b0759cb76a285052ba0 (patch)
tree815fbdec3e68d87de41042e83f8f1a0dbb63be04 /scripts/dtc/dtc-lexer.l
parentdrm: radeon: Mark several functions static in mkregtable (diff)
downloadlinux-23c4ace526fe9c5f9a4b1b0759cb76a285052ba0.tar.xz
linux-23c4ace526fe9c5f9a4b1b0759cb76a285052ba0.zip
dtc: Set "noinput" in the lexer to avoid an unused function
Regenerate the corresponding generated lexer. Regenerating the lexer with current flex also provides prototypes for various yy* functions, making some -Wmissing-prototypes warnings go away as well. Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'scripts/dtc/dtc-lexer.l')
-rw-r--r--scripts/dtc/dtc-lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
index 44dbfd3f0976..a627bbee91d4 100644
--- a/scripts/dtc/dtc-lexer.l
+++ b/scripts/dtc/dtc-lexer.l
@@ -18,7 +18,7 @@
* USA
*/
-%option noyywrap nounput yylineno
+%option noyywrap noinput nounput yylineno
%x INCLUDE
%x BYTESTRING