summaryrefslogtreecommitdiff
path: root/scripts/dtc/dtc-lexer.l
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2009-10-16 15:52:06 -0700
committerJosh Triplett <josh@joshtriplett.org>2009-11-15 15:01:41 -0800
commit23c4ace526fe9c5f9a4b1b0759cb76a285052ba0 (patch)
tree815fbdec3e68d87de41042e83f8f1a0dbb63be04 /scripts/dtc/dtc-lexer.l
parent0592e4c49e5af8ef71a1aa9308a100d711c64911 (diff)
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