CorebootModulePkg: Change CbParseAcpiTable prototype to avoid gcc fail

Use of void** as a generic pointer to pointer is a Microsoft extension
to the C language and is not supported by gcc. Without this change, gcc
compile fails with error:
passing argument 1 of 'CbParseAcpiTable' from incompatible pointer type
note: expected 'void **' but argument is of type
'struct EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER **'

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17144 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Scott Duplichan 2015-04-10 02:41:01 +00:00 committed by mauricema
parent 7b0f636452
commit 3b17ae9e51
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ CbParseCbMemTable (
**/
RETURN_STATUS
CbParseAcpiTable (
IN VOID** pMemTable,
IN VOID* pMemTable,
IN UINT32* pMemTableSize
);

View File

@ -283,11 +283,11 @@ CbParseCbMemTable (
**/
RETURN_STATUS
CbParseAcpiTable (
IN VOID** pMemTable,
IN VOID* pMemTable,
IN UINT32* pMemTableSize
)
{
return CbParseCbMemTable (SIGNATURE_32 ('I', 'P', 'C', 'A'), pMemTable, pMemTableSize);
return CbParseCbMemTable (SIGNATURE_32 ('I', 'P', 'C', 'A'), (VOID **)pMemTable, pMemTableSize);
}
/**