This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] guile/scm-type.c (type_smob): Remove duplicate typedef.


Hi.

fyi, I committed this.

2014-06-04  Doug Evans  <xdje42@gmail.com>

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

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.  */
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]