]> git.ipfire.org Git - thirdparty/grub.git/commit
lib/tss2/tss2_structs.h: Fix clang build - remove duplicate typedef
authorAndrew Hamilton <adhamilt@gmail.com>
Sun, 2 Mar 2025 16:54:04 +0000 (10:54 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 5 Mar 2025 20:24:47 +0000 (21:24 +0100)
commitcb639acea0174b7794c05e6d8833748818d78c57
tree87697adf5e5d088a9a86ad4aa2a69c6b20fe45e0
parent696e35b7ff92689add3ba898bee4f4892b3a3cfe
lib/tss2/tss2_structs.h: Fix clang build - remove duplicate typedef

grub-core/lib/tss2/tss2_structs.h contains a duplicate typedef as follows:
  typedef TPMS_SCHEME_HASH_t TPMS_SCHEME_KDF2_t;

This causes a build failure when compiling with clang. Remove the
duplicate typedef which allows successfully building GRUB with clang.

Signed-off-by: Andrew Hamilton <adhamilt@gmail.com>
Reviewed-by: Ross Philipson <ross.philipson@oracle.com>
Reviewed-by: Gary Lin <glin@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/lib/tss2/tss2_structs.h