diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-30 17:30:11 +0200 |
---|---|---|
committer | Jakub Czapiga <jacz@semihalf.com> | 2023-08-01 12:40:07 +0000 |
commit | 3bb076e5218e437af3e71dd50c85e01963594fe4 (patch) | |
tree | 02dc4bf5200fe202d174effdd11d07ab7385e399 /util/board_status | |
parent | ae51ee8c950116f43a8213bb8d611ddfff3f4883 (diff) |
libpayload/drivers/cbmem_console: 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: I3fd3f068ff731e1d9fed7c38ba6815e1eed86450
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'util/board_status')
0 files changed, 0 insertions, 0 deletions