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 <jperaza@chromium.org>
This commit is contained in:
Christopher Di Bella 2022-10-27 00:24:37 +00:00 committed by Joshua Peraza
parent de086a9859
commit 1f9903c161

View file

@ -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;