diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-15 07:14:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-15 07:14:25 +0000 |
commit | 799026a7046ca97f101f11f06a908f57aef1d869 (patch) | |
tree | 7efa28935443a671a0fffbadb489d33cd986753c | |
parent | f75150feadb958e94633234425d507e91180c0d2 (diff) | |
download | gdb-799026a7046ca97f101f11f06a908f57aef1d869.zip gdb-799026a7046ca97f101f11f06a908f57aef1d869.tar.gz gdb-799026a7046ca97f101f11f06a908f57aef1d869.tar.bz2 |
sim: rename bool argument to avoid stdbool clash
Including stdbool.h before hw-properties.h results in a build error due
to the hw_add_boolean_property function having an argument named "bool"
in its prototype. The source file has already be renamed to not use
this ("boolean" instead), so match the header to the source.
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/hw-properties.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 6494f3c..b3b1de7 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2010-03-15 Mike Frysinger <vapier@gentoo.org> + + * hw-properties.h (hw_add_boolean_property): Rename "bool" to + "boolean". + 2010-02-04 Mike Frysinger <vapier@gentoo.org> * sim-model.c: Include sim-model.h diff --git a/sim/common/hw-properties.h b/sim/common/hw-properties.h index 61dbf77..7891cac 100644 --- a/sim/common/hw-properties.h +++ b/sim/common/hw-properties.h @@ -120,7 +120,7 @@ const struct hw_property *hw_find_array_property void hw_add_boolean_property (struct hw *me, const char *property, - int bool); + int boolean); int hw_find_boolean_property (struct hw *me, |