diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-27 19:07:58 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2023-07-30 09:57:43 +0000 |
commit | 8843b6fe1d6bd02c3316bf83216ef473ab3aa653 (patch) | |
tree | 45a06bb0360faf555e3783ae62c4851b780ebe6b /src/mainboard | |
parent | 1a02f0935ae6a6d480feef27b59ae2ae139d2d61 (diff) | |
download | coreboot-8843b6fe1d6bd02c3316bf83216ef473ab3aa653.tar.gz coreboot-8843b6fe1d6bd02c3316bf83216ef473ab3aa653.tar.bz2 coreboot-8843b6fe1d6bd02c3316bf83216ef473ab3aa653.zip |
include/sar.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: I688bef264ff41b2a9755133698880fa397f652d4
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76755
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions