diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-30 12:59:50 +0200 |
---|---|---|
committer | Jakub Czapiga <jacz@semihalf.com> | 2023-08-01 12:55:42 +0000 |
commit | a4aa169aab5a621edaabb6b40d1b761bdb92b1f2 (patch) | |
tree | 00c8fb32cb04447afc571926448104592b316b2a /util/intelp2m/fields/raw/raw.go | |
parent | 408232e4bfcdc33bbec9b866569ff6aea11ba9ec (diff) |
include/acpi: Use C99 flexible arrays
Use C99 flexible arrays instead of older style of one-element or
zero-length arrays.
It allows the compiler to generate errors when the flexible array does
not occur at the end in the structure.
Change-Id: I3d5838b825c6ac2a2959388381004993024081c3
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76813
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/intelp2m/fields/raw/raw.go')
0 files changed, 0 insertions, 0 deletions