From 1f9903c161229c55670ae0f92fcbcca9c5fa6b68 Mon Sep 17 00:00:00 2001 From: Christopher Di Bella Date: Thu, 27 Oct 2022 00:24:37 +0000 Subject: [PATCH] names anonymous structs in elfutils.h Fixed: chromium:1378800 Change-Id: I8215c091c72e796b1683753e2512d6e6adc4167f Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3984802 Reviewed-by: Joshua Peraza --- src/common/linux/elfutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/linux/elfutils.h b/src/common/linux/elfutils.h index c6f1267b..130a8ac1 100644 --- a/src/common/linux/elfutils.h +++ b/src/common/linux/elfutils.h @@ -40,7 +40,7 @@ namespace google_breakpad { -typedef struct { +typedef struct Elf32_Chdr { typedef Elf32_Word Type; typedef Elf32_Word Size; typedef Elf32_Addr Addr; @@ -56,7 +56,7 @@ typedef struct { static_assert(sizeof (Elf32_Chdr) == 12); -typedef struct { +typedef struct Elf64_Chdr { typedef Elf64_Word Type; typedef Elf64_Xword Size; typedef Elf64_Addr Addr;