dtc: remove redundant YYLOC global declaration
PATCH 1/1 dtc: remove redundant YYLOC global declaration
Same as the upstream fix for building dtc with gcc 10.
Signed-off-by Lucas Stach <[email protected]>
--- scripts/dtc/dtc-lexer.l | 1 - 1 file changed, 1 deletion(-)
scripts/dtc/dtc-lexer.l +0 -1
@@ -23,7 +23,6 @@ LINECOMMENT "//".*\n #include "srcpos.h" #include "dtc-parser.tab.h" -YYLTYPE yylloc; extern bool treesource_error; /* CAUTION: this will stop working if we ever use yyless() or yyunput() */
Signature · 7 lines
2.26.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Lucas Stach
Same as the upstream fix for building dtc with gcc 10.
Signed-off-by Lucas Stach <[email protected]>--- scripts/dtc/dtc-lexer.l | 1 - 1 file changed, 1 deletion(-)
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox