aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj-iter.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-10-20 15:28:22 -0600
committerTom Tromey <tom@tromey.com>2020-10-20 15:28:22 -0600
commitad523d014ca6baddbf84196e8a8a7a4335c1d03c (patch)
treee9c2b8e8317f76fc9858f1a5addfee6870087bae /gdb/varobj-iter.h
parent646cc3e0109e4a45a232af8354feafc36c3249ee (diff)
downloadgdb-ad523d014ca6baddbf84196e8a8a7a4335c1d03c.zip
gdb-ad523d014ca6baddbf84196e8a8a7a4335c1d03c.tar.gz
gdb-ad523d014ca6baddbf84196e8a8a7a4335c1d03c.tar.bz2
Remove varobj_item typedef
While working on some minor varobj cleanups, I noticed this obvious one: the varobj_item typedef isn't redundant in C++, and so can be removed. gdb/ChangeLog 2020-10-20 Tom Tromey <tom@tromey.com> * varobj-iter.h (struct varobj_item): Remove typedef.
Diffstat (limited to 'gdb/varobj-iter.h')
-rw-r--r--gdb/varobj-iter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/varobj-iter.h b/gdb/varobj-iter.h
index 0422492..240b686 100644
--- a/gdb/varobj-iter.h
+++ b/gdb/varobj-iter.h
@@ -19,14 +19,14 @@
/* A node or item of varobj, composed of the name and the value. */
-typedef struct varobj_item
+struct varobj_item
{
/* Name of this item. */
std::string name;
/* Value of this item. */
struct value *value;
-} varobj_item;
+};
struct varobj_iter_ops;