From: David Brownell Date: Sun, 22 Nov 2009 18:20:14 +0000 (-0800) Subject: target: make register flags "bool" X-Git-Tag: v0.4.0-rc1~450 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1c619a2f12cbfe1887824d41e68e85a1c4f5a8b3;p=openocd target: make register flags "bool" Mostly for clarity, but it also saves code and data space. Signed-off-by: David Brownell --- diff --git a/src/target/register.h b/src/target/register.h index 0f8f2f4e..0cd0ddfe 100644 --- a/src/target/register.h +++ b/src/target/register.h @@ -29,8 +29,8 @@ struct reg { char *name; void *value; - int dirty; - int valid; + bool dirty; + bool valid; uint32_t size; void *arch_info; const struct reg_arch_type *type;