From patchwork Tue Apr 24 15:22:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 26919 Received: (qmail 33866 invoked by alias); 24 Apr 2018 15:22:35 -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 33731 invoked by uid 89); 24 Apr 2018 15:22:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*tom X-HELO: gateway23.websitewelcome.com Received: from gateway23.websitewelcome.com (HELO gateway23.websitewelcome.com) (192.185.50.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 24 Apr 2018 15:22:33 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway23.websitewelcome.com (Postfix) with ESMTP id ACFB713C5E for ; Tue, 24 Apr 2018 10:22:31 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id Azm3fiUqulAdrAzm3fIXwZ; Tue, 24 Apr 2018 10:22:31 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:45490 helo=pokyo.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fAzm2-002CeZ-SV; Tue, 24 Apr 2018 10:22:30 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA 3/6] Reindent type_object_getset in py-type.c Date: Tue, 24 Apr 2018 09:22:19 -0600 Message-Id: <20180424152222.8053-4-tom@tromey.com> In-Reply-To: <20180424152222.8053-1-tom@tromey.com> References: <20180424152222.8053-1-tom@tromey.com> X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fAzm2-002CeZ-SV X-Source-Sender: 97-122-176-117.hlrn.qwest.net (pokyo.Home) [97.122.176.117]:45490 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes I noticed that type_object_getset was indented incorrectly. This fixes it. 2018-04-24 Tom Tromey * python/py-type.c (type_object_getset): Reindent. --- gdb/ChangeLog | 4 ++++ gdb/python/py-type.c | 18 +++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 563aa517b8..98ea77816b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-04-24 Tom Tromey + + * python/py-type.c (type_object_getset): Reindent. + 2018-04-24 Tom Tromey PR exp/17095: diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index 8a948eeaa6..fcd6ed5621 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -1410,15 +1410,15 @@ gdbpy_initialize_types (void) static gdb_PyGetSetDef type_object_getset[] = { - { "code", typy_get_code, NULL, - "The code for this type.", NULL }, - { "name", typy_get_name, NULL, - "The name for this type, or None.", NULL }, - { "sizeof", typy_get_sizeof, NULL, - "The size of this type, in bytes.", NULL }, - { "tag", typy_get_tag, NULL, - "The tag name for this type, or None.", NULL }, - { NULL } + { "code", typy_get_code, NULL, + "The code for this type.", NULL }, + { "name", typy_get_name, NULL, + "The name for this type, or None.", NULL }, + { "sizeof", typy_get_sizeof, NULL, + "The size of this type, in bytes.", NULL }, + { "tag", typy_get_tag, NULL, + "The tag name for this type, or None.", NULL }, + { NULL } }; static PyMethodDef type_object_methods[] =