* guile/scm-type.c (type_smob): Remove duplicate typedef.

This commit is contained in:
Doug Evans 2014-06-04 00:26:03 -07:00
parent 70ad5bfff3
commit 1913f160bd
2 changed files with 8 additions and 3 deletions

View File

@ -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> 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
* record-btrace.c: Include event-loop.h and inf-loop.h. * record-btrace.c: Include event-loop.h and inf-loop.h.

View File

@ -36,9 +36,10 @@
/* The <gdb:type> smob. /* The <gdb:type> smob.
The type is chained with all types associated with its objfile, if any. 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 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. /* This always appears first.
eqable_gdb_smob is used so that types are eq?-able. 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. */ /* The GDB type structure this smob is wrapping. */
struct type *type; struct type *type;
} type_smob; };
/* A field smob. */ /* A field smob. */