Re: [Qemu-devel] [PATCH 2/6] hw/sd.c: convert binary variables to bool

2012-04-02 Thread Peter Maydell
On 2 April 2012 15:28, Igor Mitsyanko wrote: > Several members of SDState have type int when they actually are binary > variables. > Change type of these variables to bool to improve code readability. Change SD > API > to be in consistency with new variables type. > > Signed-off-by: Igor Mitsyan

[Qemu-devel] [PATCH 2/6] hw/sd.c: convert binary variables to bool

2012-04-02 Thread Igor Mitsyanko
Several members of SDState have type int when they actually are binary variables. Change type of these variables to bool to improve code readability. Change SD API to be in consistency with new variables type. Signed-off-by: Igor Mitsyanko --- hw/sd.c | 24 hw/sd.h |