aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-06-04 00:26:03 -0700
committerDoug Evans <xdje42@gmail.com>2014-06-04 00:26:03 -0700
commit1913f160bd7e0e06c04f390d643bb44a25c99881 (patch)
tree2c2edbe265627fe98fe7a797dd3f707d84361d34 /gdb
parent70ad5bfff3eeec62753ac4483bab8b7467dd3dd0 (diff)
downloadgdb-1913f160bd7e0e06c04f390d643bb44a25c99881.zip
gdb-1913f160bd7e0e06c04f390d643bb44a25c99881.tar.gz
gdb-1913f160bd7e0e06c04f390d643bb44a25c99881.tar.bz2
* guile/scm-type.c (type_smob): Remove duplicate typedef.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/guile/scm-type.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6a61844..d09a07f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-04 Doug Evans <xdje42@gmail.com>
+
+ * guile/scm-type.c (type_smob): Remove duplicate typedef.
+
2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
* record-btrace.c: Include event-loop.h and inf-loop.h.
diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c
index 582a5b7..109e030 100644
--- a/gdb/guile/scm-type.c
+++ b/gdb/guile/scm-type.c
@@ -36,9 +36,10 @@
/* The <gdb:type> smob.
The type is chained with all types associated with its objfile, if any.
This lets us copy the underlying struct type when the objfile is
- deleted. */
+ deleted.
+ The typedef for this struct is in guile-internal.h. */
-typedef struct _type_smob
+struct _type_smob
{
/* This always appears first.
eqable_gdb_smob is used so that types are eq?-able.
@@ -49,7 +50,7 @@ typedef struct _type_smob
/* The GDB type structure this smob is wrapping. */
struct type *type;
-} type_smob;
+};
/* A field smob. */