diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-28 06:20:48 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-07-31 04:28:31 +0000 |
commit | 242bac0e162ca9a9258f61b0674b0dced5bcc01a (patch) | |
tree | 06026a25835531ed87820920c452ca9abb8062e9 /src/drivers/intel/fsp2_0 | |
parent | bfdb7551b18a8bf5f4c34e055828cd11408c85ae (diff) |
commonlib/bsd/cbfs_serialized.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: I00807a435a21e078c89f797cfd0b00d03604ea0e
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76786
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/fsp2_0')
0 files changed, 0 insertions, 0 deletions