diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-30 17:28:13 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-08-01 13:34:27 +0000 |
commit | 40c645b1378acdfe2b167e943c954d2a12cf93c0 (patch) | |
tree | 399c98ad92e6ad9ffd9d0dde721806d32b245c63 /src/cpu/x86/backup_default_smm.c | |
parent | 3dc221fac3843dfbe9d67e6b4de6df243262fe42 (diff) |
lib/gcov-io.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: Iad9cbe16a2d1881d74edcc702be843168df8a4ff
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76846
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/cpu/x86/backup_default_smm.c')
0 files changed, 0 insertions, 0 deletions