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/flash/mflash.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/flash/mflash.c')
-rw-r--r-- | src/flash/mflash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/mflash.c b/src/flash/mflash.c index 698cd16..029178d 100644 --- a/src/flash/mflash.c +++ b/src/flash/mflash.c @@ -1265,7 +1265,7 @@ COMMAND_HANDLER(mg_config_cmd) } } -int mflash_init_drivers(struct command_context_s *cmd_ctx) +int mflash_init_drivers(struct command_context *cmd_ctx) { if (mflash_bank) { register_command(cmd_ctx, mflash_cmd, "probe", mg_probe_cmd, COMMAND_EXEC, NULL); @@ -1320,7 +1320,7 @@ COMMAND_HANDLER(mg_bank_cmd) return ERROR_OK; } -int mflash_register_commands(struct command_context_s *cmd_ctx) +int mflash_register_commands(struct command_context *cmd_ctx) { mflash_cmd = register_command(cmd_ctx, NULL, "mflash", NULL, COMMAND_ANY, NULL); register_command(cmd_ctx, mflash_cmd, "bank", mg_bank_cmd, COMMAND_CONFIG, |