From 341df2bdc3f9664587a57f947249c3208da77c9b Mon Sep 17 00:00:00 2001 From: David Gibson Date: Fri, 30 Apr 2010 15:27:32 +1000 Subject: 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 --- convert-dtsv0-lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'convert-dtsv0-lexer.l') diff --git a/convert-dtsv0-lexer.l b/convert-dtsv0-lexer.l index edb9110..89d540a 100644 --- a/convert-dtsv0-lexer.l +++ b/convert-dtsv0-lexer.l @@ -17,7 +17,7 @@ * USA */ -%option noyywrap nounput noinput +%option noyywrap nounput noinput never-interactive %x INCLUDE %x BYTESTRING -- cgit v1.1