Browse Source

Remove redundant YYLOC global declaration

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

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Peter Robinson 4 years ago
parent
commit
018921ee79
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scripts/dtc/dtc-lexer.l

+ 0 - 1
scripts/dtc/dtc-lexer.l

@@ -38,7 +38,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() */