aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHan Gao <gaohan@iscas.ac.cn>2023-05-10 02:25:53 +0800
committerHan Gao <gaohan@iscas.ac.cn>2023-05-10 02:25:53 +0800
commit403553d69746c0e2e23d7554800b0ba71761c3e9 (patch)
treefcbc34acded1adb98477b947053b48834b253083 /scripts
parent0fd098d1908690cf6564b2ce3345830615097c92 (diff)
fix: ftbfs
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dtc/dtc-lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
index fd825ebb..f57c9a7e 100644
--- a/scripts/dtc/dtc-lexer.l
+++ b/scripts/dtc/dtc-lexer.l
@@ -38,7 +38,7 @@ LINECOMMENT "//".*\n
#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() */