aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm966e.c
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/arm966e.c
parentd16968e24f5d9e436ae4e136cd27652c4c948203 (diff)
downloadriscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.zip
riscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.gz
riscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.bz2
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Diffstat (limited to 'src/target/arm966e.c')
-rw-r--r--src/target/arm966e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm966e.c b/src/target/arm966e.c
index b1ae48c..6db7d79 100644
--- a/src/target/arm966e.c
+++ b/src/target/arm966e.c
@@ -57,7 +57,7 @@ static int arm966e_target_create(struct target *target, Jim_Interp *interp)
return arm966e_init_arch_info(target, arm966e, target->tap);
}
-static int arm966e_verify_pointer(struct command_context_s *cmd_ctx,
+static int arm966e_verify_pointer(struct command_context *cmd_ctx,
struct arm966e_common *arm966e)
{
if (arm966e->common_magic != ARM966E_COMMON_MAGIC) {
@@ -216,7 +216,7 @@ COMMAND_HANDLER(arm966e_handle_cp15_command)
}
/** Registers commands used to access coprocessor resources. */
-int arm966e_register_commands(struct command_context_s *cmd_ctx)
+int arm966e_register_commands(struct command_context *cmd_ctx)
{
int retval;
command_t *arm966e_cmd;