pmaports/device/testing/linux-lenovo-achilles/05-fix_yylloc.patch
aleiepure cf607b6987
lenovo-achilles: new device (MR 4103)
[ci:skip-build] already built successfully in CI
2023-06-18 07:55:40 -07:00

13 lines
434 B
Diff

diff --git a/scripts/dtc/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped
index 2d30f417..d0eb405c 100644
--- a/scripts/dtc/dtc-lexer.lex.c_shipped
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped
@@ -637,7 +637,7 @@ char *yytext;
#include "srcpos.h"
#include "dtc-parser.tab.h"
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
#define YY_USER_ACTION \