summaryrefslogtreecommitdiff
path: root/src/target/etm.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 13:25:47 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 13:25:47 -0800
commit98723c4ecdbe06f90c66f3abec27b792c3b38e34 (patch)
treec6ea2a1627e8f7109e3aa0589cd625ac0c740aa7 /src/target/etm.h
parentd16968e24f5d9e436ae4e136cd27652c4c948203 (diff)
downloadopenocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.gz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.bz2
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.xz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.zip
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Diffstat (limited to 'src/target/etm.h')
-rw-r--r--src/target/etm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etm.h b/src/target/etm.h
index 1ca9b938..b74c6d90 100644
--- a/src/target/etm.h
+++ b/src/target/etm.h
@@ -126,7 +126,7 @@ struct etm_context;
struct etm_capture_driver
{
char *name;
- int (*register_commands)(struct command_context_s *cmd_ctx);
+ int (*register_commands)(struct command_context *cmd_ctx);
int (*init)(struct etm_context *etm_ctx);
trace_status_t (*status)(struct etm_context *etm_ctx);
int (*read_trace)(struct etm_context *etm_ctx);
@@ -212,7 +212,7 @@ struct reg_cache* etm_build_reg_cache(struct target *target,
int etm_setup(struct target *target);
-int etm_register_commands(struct command_context_s *cmd_ctx);
+int etm_register_commands(struct command_context *cmd_ctx);
#define ERROR_ETM_INVALID_DRIVER (-1300)
#define ERROR_ETM_PORTMODE_NOT_SUPPORTED (-1301)