From 98723c4ecdbe06f90c66f3abec27b792c3b38e34 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 13:25:47 -0800 Subject: command_context_t -> struct command_context Remove misleading typedef and redundant suffix from struct command_context. --- src/target/target.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/target/target.h') diff --git a/src/target/target.h b/src/target/target.h index 5f29e7f4..914d62fd 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); /** -- cgit v1.2.3