diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 13:25:47 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 13:25:47 -0800 |
commit | 98723c4ecdbe06f90c66f3abec27b792c3b38e34 (patch) | |
tree | c6ea2a1627e8f7109e3aa0589cd625ac0c740aa7 /src/target/target.h | |
parent | d16968e24f5d9e436ae4e136cd27652c4c948203 (diff) | |
download | riscv-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/target.h')
-rw-r--r-- | src/target/target.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/target/target.h b/src/target/target.h index 5f29e7f..914d62f 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -34,7 +34,7 @@ struct reg; struct trace; -struct command_context_s; +struct command_context; /** @@ -241,12 +241,12 @@ struct target_timer_callback struct target_timer_callback *next; }; -int target_register_commands(struct command_context_s *cmd_ctx); -int target_register_user_commands(struct command_context_s *cmd_ctx); -int target_init(struct command_context_s *cmd_ctx); +int target_register_commands(struct command_context *cmd_ctx); +int target_register_user_commands(struct command_context *cmd_ctx); +int target_init(struct command_context *cmd_ctx); int target_examine(void); int handle_target(void *priv); -int target_process_reset(struct command_context_s *cmd_ctx, +int target_process_reset(struct command_context *cmd_ctx, enum target_reset_mode reset_mode); int target_register_event_callback( @@ -278,7 +278,7 @@ int target_call_timer_callbacks(void); */ int target_call_timer_callbacks_now(void); -struct target* get_current_target(struct command_context_s *cmd_ctx); +struct target* get_current_target(struct command_context *cmd_ctx); struct target *get_target(const char *id); /** |