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.
This commit is contained in:
Tom Tromey 2020-10-20 15:28:22 -06:00
parent 646cc3e010
commit ad523d014c
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2020-10-20 Tom Tromey <tom@tromey.com>
* varobj-iter.h (struct varobj_item): Remove typedef.
2020-10-20 Simon Marchi <simon.marchi@polymtl.ca>
* infrun.c (currently_stepping): Change int to bool

View file

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