diff --git a/dtc-parser.y b/dtc-parser.y index 39d9dac..15caf5a 100644 --- a/dtc-parser.y +++ b/dtc-parser.y @@ -26,7 +26,6 @@ #include "srcpos.h" int yylex(void); -void yyerror(char const *); cell_t cell_from_string(char *s, unsigned int base); extern struct boot_info *the_boot_info; diff --git a/srcpos.h b/srcpos.h index bc5b525..ce7ab5b 100644 --- a/srcpos.h +++ b/srcpos.h @@ -62,6 +62,7 @@ typedef struct YYLTYPE { +extern void yyerror(char const *); extern int srcpos_filenum;