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/helper/log.c | |
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/helper/log.c')
-rw-r--r-- | src/helper/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/log.c b/src/helper/log.c index 1724bec..c690654 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -317,7 +317,7 @@ COMMAND_HANDLER(handle_log_output_command) return ERROR_OK; } -int log_register_commands(struct command_context_s *cmd_ctx) +int log_register_commands(struct command_context *cmd_ctx) { start = timeval_ms(); register_command(cmd_ctx, NULL, "log_output", handle_log_output_command, @@ -328,7 +328,7 @@ int log_register_commands(struct command_context_s *cmd_ctx) return ERROR_OK; } -int log_init(struct command_context_s *cmd_ctx) +int log_init(struct command_context *cmd_ctx) { /* set defaults for daemon configuration, if not set by cmdline or cfgfile */ if (debug_level == -1) @@ -344,7 +344,7 @@ int log_init(struct command_context_s *cmd_ctx) return ERROR_OK; } -int set_log_output(struct command_context_s *cmd_ctx, FILE *output) +int set_log_output(struct command_context *cmd_ctx, FILE *output) { log_output = output; return ERROR_OK; |