diff options
author | Robert Moore <Robert.Moore@intel.com> | 2012-10-25 09:21:17 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2012-10-25 09:21:17 -0700 |
commit | 891867802dac31549d6209113fa1c60f66e15004 (patch) | |
tree | c8101c7b058ac66a67c093a64857e4cd38349b66 /source/compiler/aslcompile.c | |
parent | 9458732b14eb75059018eac4b8d86d1518f30b16 (diff) | |
download | acpica-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.c | 9 |
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 |