Revert "ACPICA fixes for gcc2.95.3"
This reverts commit 3f6f7f7420.
Change-Id: If47a81ada6c7fe38c1e40bed4381a384ef25c050
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7183
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
f66a7eb59e
commit
a45709f630
@@ -193,7 +193,7 @@ AcpiPsDeleteParseTree (
|
||||
if (Op != Parent)
|
||||
{
|
||||
/* This is the descending case */
|
||||
#if 0 //gcc2.95.3 warns about printf format in code we do not use
|
||||
|
||||
if (ACPI_IS_DEBUG_ENABLED (ACPI_LV_PARSE_TREES, _COMPONENT))
|
||||
{
|
||||
/* This debug option will print the entire parse tree */
|
||||
@@ -211,7 +211,7 @@ AcpiPsDeleteParseTree (
|
||||
}
|
||||
AcpiOsPrintf ("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Look for an argument or child of the current op */
|
||||
|
||||
Next = AcpiPsGetArg (Op, 0);
|
||||
|
||||
@@ -1379,7 +1379,7 @@ typedef struct acpi_pnp_device_id_list
|
||||
{
|
||||
UINT32 Count; /* Number of IDs in Ids array */
|
||||
UINT32 ListSize; /* Size of list, including ID strings */
|
||||
ACPI_PNP_DEVICE_ID Ids[1]; /* ID array */
|
||||
ACPI_PNP_DEVICE_ID Ids[]; /* ID array */
|
||||
|
||||
} ACPI_PNP_DEVICE_ID_LIST;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user