summaryrefslogtreecommitdiff
path: root/source/compiler/aslcompile.c
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2012-10-25 09:21:17 -0700
committerRobert Moore <Robert.Moore@intel.com>2012-10-25 09:21:17 -0700
commit891867802dac31549d6209113fa1c60f66e15004 (patch)
treec8101c7b058ac66a67c093a64857e4cd38349b66 /source/compiler/aslcompile.c
parent9458732b14eb75059018eac4b8d86d1518f30b16 (diff)
downloadacpica-891867802dac31549d6209113fa1c60f66e15004.tar.gz
iASL: Move parser entry prototype to avoid duplicate declaration.
Newer versions of Bison emit this prototype, so move the prototype out of the iASL header to where it is actually used in order to avoid a duplicate declaration.
Diffstat (limited to 'source/compiler/aslcompile.c')
-rw-r--r--source/compiler/aslcompile.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/compiler/aslcompile.c b/source/compiler/aslcompile.c
index ba771326d..cd1d60fd9 100644
--- a/source/compiler/aslcompile.c
+++ b/source/compiler/aslcompile.c
@@ -122,6 +122,15 @@
#define _COMPONENT ACPI_COMPILER
ACPI_MODULE_NAME ("aslcompile")
+/*
+ * Main parser entry
+ * External is here in case the parser emits the same external in the
+ * generated header. (Newer versions of Bison)
+ */
+int
+AslCompilerparse(
+ void);
+
/* Local prototypes */
static void