Fix build on FreeBSD. This patch was submitted upstream:

http://lists.acpica.org/pipermail/devel/2011-April/000253.html

Similar fixes will show up in the next ACPICA release.
This commit is contained in:
jkim 2011-04-15 16:44:04 +00:00
parent b47c4517fe
commit 2b84853682
2 changed files with 4 additions and 3 deletions

View File

@ -130,4 +130,4 @@ DtTerminateLexer (
{
yy_delete_buffer (LexBuffer);
}
}

View File

@ -53,7 +53,8 @@
UINT64 DtParserResult; /* Global for expression return value */
int DtParserlex (void); /* TBD: not sure why this is needed */
int DtParserlex (void);
int DtParserparse (void);
extern char* DtParsertext;
extern void DtParsererror (char const * msg);
#define YYFLAG -32768
@ -171,7 +172,7 @@ extern DT_FIELD *Gbl_CurrentField;
#define PR_YYTNAME_START 3
#ifdef _USE_BERKELEY_YACC
#define yytname DtParsername[];
#define yytname DtParsername
#endif