From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 4D9A43894410 for ; Wed, 16 Jun 2021 05:05:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4D9A43894410 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9DD76335CDE for ; Wed, 16 Jun 2021 05:05:22 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: ppc: change bool variable name to boolean Date: Wed, 16 Jun 2021 01:05:21 -0400 Message-Id: <20210616050521.25484-1-vapier@gentoo.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2021 05:05:24 -0000 This is a reserved type with stdbool.h. --- sim/ppc/ChangeLog | 4 ++++ sim/ppc/device.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 469d76bf2038..d0719450ce22 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,7 @@ +2021-06-16 Mike Frysinger + + * device.h (device_add_boolean_property): Rename bool arg to boolean. + 2021-06-16 Mike Frysinger * Makefile.in (HOSTENDIAN_CFLAGS): Delete. diff --git a/sim/ppc/device.h b/sim/ppc/device.h index 353358761b5a..1bc000876eec 100644 --- a/sim/ppc/device.h +++ b/sim/ppc/device.h @@ -280,7 +280,7 @@ INLINE_DEVICE\ (void) device_add_boolean_property (device *me, const char *property, - int bool); + int boolean); INLINE_DEVICE\ (int) device_find_boolean_property -- 2.31.1