Skip to contentSkip to conversation

dtc: remove redundant YYLOC global declaration

PATCH Applied Lucas Stach 2 participants 2 messages Apr 24, 2020 – Apr 27, 2020 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dtc: remove redundant YYLOC global declaration

Same as the upstream fix for building dtc with gcc 10.

---
 scripts/dtc/dtc-lexer.l | 1 -
 1 file changed, 1 deletion(-)
scripts/dtc/dtc-lexer.l +0 -1
index 5c6c3fd557d7..b3b7270300de 100644
@@ -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
Applied
#1 lore raw
Quoted 6 lines · Lucas Stach

Same as the upstream fix for building dtc with gcc 10.

---
 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