mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] dtc: remove redundant YYLOC global declaration
@ 2020-04-24 15:31 Lucas Stach
  2020-04-27  6:56 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2020-04-24 15:31 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 scripts/dtc/dtc-lexer.l | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
index 5c6c3fd557d7..b3b7270300de 100644
--- a/scripts/dtc/dtc-lexer.l
+++ b/scripts/dtc/dtc-lexer.l
@@ -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() */
-- 
2.26.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] dtc: remove redundant YYLOC global declaration
  2020-04-24 15:31 [PATCH] dtc: remove redundant YYLOC global declaration Lucas Stach
@ 2020-04-27  6:56 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2020-04-27  6:56 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Fri, Apr 24, 2020 at 05:31:29PM +0200, Lucas Stach wrote:
> Same as the upstream fix for building dtc with gcc 10.
> 
> Signed-off-by: Lucas Stach <dev@lynxeye.de>
> ---
>  scripts/dtc/dtc-lexer.l | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-27  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 15:31 [PATCH] dtc: remove redundant YYLOC global declaration Lucas Stach
2020-04-27  6:56 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox