Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb Use C++ syntax for defining types...



details:   https://anonhg.NetBSD.org/src/rev/e1ee9fc47025
branches:  trunk
changeset: 745114:e1ee9fc47025
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Feb 23 02:06:01 2020 +0000

description:
Use C++ syntax for defining types, not C one.

diffstat:

 external/gpl3/gdb/dist/gdb/sparc64-tdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 3f512e8e9873 -r e1ee9fc47025 external/gpl3/gdb/dist/gdb/sparc64-tdep.c
--- a/external/gpl3/gdb/dist/gdb/sparc64-tdep.c Sun Feb 23 02:03:19 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/sparc64-tdep.c Sun Feb 23 02:06:01 2020 +0000
@@ -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 @@
   /* ADI is available.  */
   bool is_avail = false;
 
-} adi_stat_t;
+};
 
 /* Per-process ADI stat info.  */
 



Home | Main Index | Thread Index | Old Index