From patchwork Wed Jun 4 07:27:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 1302 Received: (qmail 6661 invoked by alias); 4 Jun 2014 07:27:33 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 6651 invoked by uid 89); 4 Jun 2014 07:27:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pb0-f41.google.com Received: from mail-pb0-f41.google.com (HELO mail-pb0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 04 Jun 2014 07:27:31 +0000 Received: by mail-pb0-f41.google.com with SMTP id uo5so6660974pbc.0 for ; Wed, 04 Jun 2014 00:27:30 -0700 (PDT) X-Received: by 10.69.31.107 with SMTP id kl11mr59460267pbd.142.1401866849968; Wed, 04 Jun 2014 00:27:29 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id tf10sm6309804pbc.70.2014.06.04.00.27.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jun 2014 00:27:29 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [commit] guile/scm-type.c (type_smob): Remove duplicate typedef. Date: Wed, 04 Jun 2014 00:27:11 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. fyi, I committed this. 2014-06-04 Doug Evans * 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 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. */