diff options
author | Robert Moore <Robert.Moore@intel.com> | 2023-02-07 12:25:29 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2023-02-07 12:25:29 -0800 |
commit | 801ccce4d95d6403826951928bbf6918671525ba (patch) | |
tree | f5c9216c2c17009cbb64440b66f03cb8dd71a66c | |
parent | af2bdabeec7d9233f8d0529e509dd72701034291 (diff) | |
download | acpica-801ccce4d95d6403826951928bbf6918671525ba.tar.gz |
Backout use of flexible array with no other structure elements:
actbl2.h:1555:29: error: flexible array member in a struct with no named members
-rw-r--r-- | source/include/actbl2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/actbl2.h b/source/include/actbl2.h index 1662cfe20..43895b370 100644 --- a/source/include/actbl2.h +++ b/source/include/actbl2.h @@ -1552,7 +1552,7 @@ enum AcpiMadtLpcPicVersion { typedef struct acpi_madt_oem_data { - UINT8 OemData[]; + UINT8 OemData[0]; } ACPI_MADT_OEM_DATA; @@ -3243,7 +3243,7 @@ typedef struct acpi_table_rgrt UINT16 Version; UINT8 ImageType; UINT8 Reserved; - UINT8 Image[0]; + UINT8 Image[]; } ACPI_TABLE_RGRT; |