mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
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>
This commit is contained in:
parent
73dca9ae0b
commit
341df2bdc3
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
%option noyywrap nounput noinput
|
||||
%option noyywrap nounput noinput never-interactive
|
||||
|
||||
%x INCLUDE
|
||||
%x BYTESTRING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue