diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 11:55:09 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 11:55:09 +0000 |
commit | da767f48da13464b6bd03b08270b529273c995f4 (patch) | |
tree | 7ee56c809f892e56d5ebe03c083df1e842401f95 /src/target/arm11.h | |
parent | 219b7f30b99c8af9f94fa1b10537bb0e2dc6209f (diff) | |
download | riscv-openocd-da767f48da13464b6bd03b08270b529273c995f4.zip riscv-openocd-da767f48da13464b6bd03b08270b529273c995f4.tar.gz riscv-openocd-da767f48da13464b6bd03b08270b529273c995f4.tar.bz2 |
remove warnings.
git-svn-id: svn://svn.berlios.de/openocd/trunk@391 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r-- | src/target/arm11.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h index 6e3b1d1..9c1bcd0 100644 --- a/src/target/arm11.h +++ b/src/target/arm11.h @@ -26,10 +26,6 @@ #include "arm_jtag.h" -#define bool int -#define true 1 -#define false 0 - #define asizeof(x) (sizeof(x) / sizeof((x)[0])) #define NEW(type, variable, items) \ @@ -259,7 +255,7 @@ int arm11_add_ir_scan_vc(int num_fields, scan_field_t *fields, enum tap_state st */ typedef struct arm11_sc7_action_s { - bool write; /**< Access mode: true for write, false for read. */ + int write; /**< Access mode: true for write, false for read. */ u8 address; /**< Register address mode. Use enum #arm11_sc7 */ u32 value; /**< If write then set this to value to be written. In read mode this receives the read value when the |