[binutils-gdb] sim: ppc: change bool variable name to boolean
Michael Frysinger
vapier@sourceware.org
Wed Jun 16 05:05:27 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=597656964120f19c06737eee3a530baf7aa9323a
commit 597656964120f19c06737eee3a530baf7aa9323a
Author: Mike Frysinger <vapier@gentoo.org>
Date: Tue Jun 15 20:28:35 2021 -0400
sim: ppc: change bool variable name to boolean
This is a reserved type with stdbool.h.
Diff:
---
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 469d76bf203..d0719450ce2 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 353358761b5..1bc000876ee 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
More information about the Gdb-cvs
mailing list