summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-05-31 14:27:41 +0000
committerRaghuram Subramani <raghus2247@gmail.com>2024-05-31 14:27:41 +0000
commitf379aed38ffbab5f0fa09b6ff245eeb738a137a0 (patch)
tree7cc94c1ff0b20c588e53af42228fc12186007fd3
parentd2e6f60bc2c18924b0ec751020e7304e22781c9c (diff)
-rw-r--r--scripts/dtc/dtc-lexer.lex.c_shipped2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped
index 2c862bc86ad0..4f91c16cac4f 100644
--- a/scripts/dtc/dtc-lexer.lex.c_shipped
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped
@@ -631,7 +631,7 @@ char *yytext;
#include "srcpos.h"
#include "dtc-parser.tab.h"
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
extern bool treesource_error;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */