summaryrefslogtreecommitdiff
path: root/srcpos.h
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2007-07-07 01:18:47 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-07 10:07:27 -0500
commit6d7b22243045dc514b5ea6c004fc50af8581ed9b (patch)
treeb9a11f26a40fd8bea984d326e538f9258ccb0fbf /srcpos.h
parent81fda8a6f1cabbd9c08e27d3171394f7f90f7d3a (diff)
downloaddtc-6d7b22243045dc514b5ea6c004fc50af8581ed9b.tar.gz
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>
Diffstat (limited to 'srcpos.h')
-rw-r--r--srcpos.h1
1 files changed, 1 insertions, 0 deletions
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;