summaryrefslogtreecommitdiff
path: root/src/server/tcl_server.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/server/tcl_server.c
parentd16968e24f5d9e436ae4e136cd27652c4c948203 (diff)
downloadopenocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.gz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.bz2
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.xz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.zip
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Diffstat (limited to 'src/server/tcl_server.c')
-rw-r--r--src/server/tcl_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/tcl_server.c b/src/server/tcl_server.c
index eed483ca..40a0428d 100644
--- a/src/server/tcl_server.c
+++ b/src/server/tcl_server.c
@@ -175,7 +175,7 @@ COMMAND_HANDLER(handle_tcl_port_command)
return CALL_COMMAND_HANDLER(server_port_command, &tcl_port);
}
-int tcl_register_commands(command_context_t *cmd_ctx)
+int tcl_register_commands(struct command_context *cmd_ctx)
{
register_command(cmd_ctx, NULL, "tcl_port",
handle_tcl_port_command, COMMAND_CONFIG,