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/42d72f5e5a1c
branches:  trunk
changeset: 1007574:42d72f5e5a1c
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 c94ea606e1c1 -r 42d72f5e5a1c 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