diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-28 06:19:21 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2023-07-30 09:58:46 +0000 |
commit | 8c0168ab86310eca6f78ba8bcbdf13397951c63e (patch) | |
tree | 046e73cd5b90bb01bd8bdb193e58a02e81bd99c6 /util/nixshell | |
parent | 19b534d5fd0595393a6e88d8c7a0eee8b17feda1 (diff) |
commonlib/coreboot_tables.h: 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: I495605190b2c6cd11c7f78727ab4611e10b4d9d3
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76785
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/nixshell')
0 files changed, 0 insertions, 0 deletions