diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 10:11:13 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:14 -0800 |
commit | 0f1163e823c6ca3c2a81fa296157f5dde0635fea (patch) | |
tree | 60551098bba500cd8b7fc4bd669d64fd3ed8f061 /src/target/embeddedice.c | |
parent | d0dee7ccafcf87259fadf6c5de43df8583b0e885 (diff) | |
download | riscv-openocd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.zip riscv-openocd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.gz riscv-openocd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.bz2 |
target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
Diffstat (limited to 'src/target/embeddedice.c')
-rw-r--r-- | src/target/embeddedice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 21195f7..e73cb7f 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -164,7 +164,7 @@ static int embeddedice_get_reg(struct reg *reg) * hardware support for vector_catch, single stepping, and monitor mode. */ struct reg_cache * -embeddedice_build_reg_cache(target_t *target, struct arm7_9_common *arm7_9) +embeddedice_build_reg_cache(struct target *target, struct arm7_9_common *arm7_9) { int retval; struct reg_cache *reg_cache = malloc(sizeof(struct reg_cache)); @@ -300,7 +300,7 @@ embeddedice_build_reg_cache(target_t *target, struct arm7_9_common *arm7_9) /** * Initialize EmbeddedICE module, if needed. */ -int embeddedice_setup(target_t *target) +int embeddedice_setup(struct target *target) { int retval; struct arm7_9_common *arm7_9 = target_to_arm7_9(target); |