From 723199159ff6fb803959cbcb46f4012870edb0cb Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 23 Feb 2020 02:06:01 +0000 Subject: [PATCH] Use C++ syntax for defining types, not C one. --- external/gpl3/gdb/dist/gdb/sparc64-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/gpl3/gdb/dist/gdb/sparc64-tdep.c b/external/gpl3/gdb/dist/gdb/sparc64-tdep.c index 030850955ace..6e7be1371b0d 100644 --- a/external/gpl3/gdb/dist/gdb/sparc64-tdep.c +++ b/external/gpl3/gdb/dist/gdb/sparc64-tdep.c @@ -86,7 +86,7 @@ static struct cmd_list_element *sparc64adilist = NULL; /* ADI stat settings. */ -typedef struct +struct adi_stat_t { /* The ADI block size. */ unsigned long blksize; @@ -108,7 +108,7 @@ typedef struct /* ADI is available. */ bool is_avail = false; -} adi_stat_t; +}; /* Per-process ADI stat info. */