mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
dtc: move declaration of yyerror
yyerror() is used by both dtc-parser.y and dtc-lexer.l, so move the declaration to srcpos.h. Signed-off-by: Milton Miller <miltonm@bga.com>
This commit is contained in:
parent
81fda8a6f1
commit
6d7b222430
2 changed files with 1 additions and 1 deletions
1
srcpos.h
1
srcpos.h
|
@ -62,6 +62,7 @@ typedef struct YYLTYPE {
|
|||
|
||||
|
||||
|
||||
extern void yyerror(char const *);
|
||||
|
||||
extern int srcpos_filenum;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue