aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 20:28:35 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-16 01:05:10 -0400
commit597656964120f19c06737eee3a530baf7aa9323a (patch)
treeef78bdf1d4acda0ddb08772f66469102662b2396 /sim
parent430456e34753ac705a047c886eb4f73cf2906dfc (diff)
downloadfsf-binutils-gdb-597656964120f19c06737eee3a530baf7aa9323a.zip
fsf-binutils-gdb-597656964120f19c06737eee3a530baf7aa9323a.tar.gz
fsf-binutils-gdb-597656964120f19c06737eee3a530baf7aa9323a.tar.bz2
sim: ppc: change bool variable name to boolean
This is a reserved type with stdbool.h.
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/ChangeLog4
-rw-r--r--sim/ppc/device.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 469d76b..d071945 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,5 +1,9 @@
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.
* configure.ac: Delete sim-hostendian logic.
* altivec_registers.h (WITH_HOST_BYTE_ORDER): Rename to ...
diff --git a/sim/ppc/device.h b/sim/ppc/device.h
index 3533587..1bc0008 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