FunKey-OS/FunKey/board/funkey/patches/linux/0002_dtc-lexer.patch
2025-03-13 11:22:44 +01:00

12 lines
352 B
Diff

--- a/scripts/dtc/dtc-lexer.l 2024-02-16 09:12:07.182655128 +0000
+++ b/scripts/dtc/dtc-lexer.l 2024-02-16 09:12:18.870713228 +0000
@@ -38,7 +38,7 @@
#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() */