public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [commit] guile/scm-type.c (type_smob): Remove duplicate typedef.
@ 2014-06-04  7:27 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2014-06-04  7:27 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-04  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04  7:27 [commit] guile/scm-type.c (type_smob): Remove duplicate typedef Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).