summaryrefslogtreecommitdiff
path: root/dtc-lexer.l
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2010-04-30 15:27:32 +1000
committerJon Loeliger <jdl@jdl.com>2010-04-30 08:36:47 -0500
commit341df2bdc3f9664587a57f947249c3208da77c9b (patch)
tree23e4e0bcc72b03e52d406de957350df52c4c755e /dtc-lexer.l
parent73dca9ae0b9abe6924ba640164ecce9f8df69c5a (diff)
downloaddevice-tree-compiler-341df2bdc3f9664587a57f947249c3208da77c9b.tar.gz
dtc: Add -Wredundant-decls (resend)
We are almost clean already with the -Wredundant-decls warning. The only exception is a declaration for isatty() inside the flex-generated code. This can be removed by using flex's "never-interactive" option, which we probably should be using anyway, since we never parse interactively in the sense that this option implies. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc-lexer.l')
-rw-r--r--dtc-lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtc-lexer.l b/dtc-lexer.l
index 3c3434c..f8953f4 100644
--- a/dtc-lexer.l
+++ b/dtc-lexer.l
@@ -18,7 +18,7 @@
* USA
*/
-%option noyywrap nounput noinput
+%option noyywrap nounput noinput never-interactive
%x INCLUDE
%x BYTESTRING