From patchwork Fri Apr 27 14:01:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 26998 Received: (qmail 29465 invoked by alias); 27 Apr 2018 14:01:48 -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 29276 invoked by uid 89); 27 Apr 2018 14:01:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway22.websitewelcome.com Received: from gateway22.websitewelcome.com (HELO gateway22.websitewelcome.com) (192.185.47.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Apr 2018 14:01:43 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 9C8959D39 for ; Fri, 27 Apr 2018 09:01:42 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id C3wUfXLgklAdrC3wUf6sQo; Fri, 27 Apr 2018 09:01:42 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:54910 helo=pokyo.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fC3wU-000h2v-Dr; Fri, 27 Apr 2018 09:01:42 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA v2 3/6] Reindent type_object_getset in py-type.c Date: Fri, 27 Apr 2018 08:01:36 -0600 Message-Id: <20180427140139.7957-4-tom@tromey.com> In-Reply-To: <20180427140139.7957-1-tom@tromey.com> References: <20180427140139.7957-1-tom@tromey.com> X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fC3wU-000h2v-Dr X-Source-Sender: 97-122-176-117.hlrn.qwest.net (pokyo.Home) [97.122.176.117]:54910 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-27 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 73eba465a1..caab3a7284 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-04-27 Tom Tromey + + * python/py-type.c (type_object_getset): Reindent. + 2018-04-27 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[] =