forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user