summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2020-04-24 17:31:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-04-27 08:55:45 +0200
commit1f69e9477758309cde0a2791a0a4743c32478d6f (patch)
tree2c25a2fca51342a9a6076ce6534fbe361c282397
parentb4dbf05cae1d22df0a961e256763ed2b262ea3fb (diff)
downloadbarebox-1f69e9477758309cde0a2791a0a4743c32478d6f.tar.gz
barebox-1f69e9477758309cde0a2791a0a4743c32478d6f.tar.xz
dtc: remove redundant YYLOC global declaration
Same as the upstream fix for building dtc with gcc 10. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--scripts/dtc/dtc-lexer.l1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
index 5c6c3fd557..b3b7270300 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() */