diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-07-30 17:24:50 +0200 |
---|---|---|
committer | Jakub Czapiga <jacz@semihalf.com> | 2023-08-01 12:41:14 +0000 |
commit | 16f08cfeaf5534f2dcc4261a0257aba86469bda4 (patch) | |
tree | 12fa36e5ab4fa236de2c62315243ecfffbd69cb2 /src/security/intel | |
parent | b66a5551d587aced837737fff2b0584b74613955 (diff) |
security/tpm/tpm{1,2}_log_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: I79e4b34fe682f5f21415cb93cf65394881173b34
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76842
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/intel')
0 files changed, 0 insertions, 0 deletions