diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-30 13:15:18 +0200 |
---|---|---|
committer | Jakub Czapiga <jacz@semihalf.com> | 2023-08-01 12:42:10 +0000 |
commit | dc15867e3b938b6349fed3e809931657bdd24da6 (patch) | |
tree | 0d1165f5a528f02a2fa7cad87b959038d80b8bed /src/mainboard/opencellular/elgon | |
parent | 928584c31d68a59b0ec58b2a4db9d23a43bf4e01 (diff) |
src/drivers/vpd/vpd.c: 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: Iab55c57ee5cac60911c9fe4cee8d86a252bde372
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76839
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/opencellular/elgon')
0 files changed, 0 insertions, 0 deletions