public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: ppc: change bool variable name to boolean
Date: Wed, 16 Jun 2021 01:05:21 -0400	[thread overview]
Message-ID: <20210616050521.25484-1-vapier@gentoo.org> (raw)

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  <vapier@gentoo.org>
+
+	* device.h (device_add_boolean_property): Rename bool arg to boolean.
+
 2021-06-16  Mike Frysinger  <vapier@gentoo.org>
 
 	* 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


                 reply	other threads:[~2021-06-16  5:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210616050521.25484-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).