summaryrefslogtreecommitdiff
path: root/src/helper/options.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/helper/options.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/helper/options.c')
-rw-r--r--src/helper/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/options.c b/src/helper/options.c
index a0c9a9e9..3ffc6736 100644
--- a/src/helper/options.c
+++ b/src/helper/options.c
@@ -46,7 +46,7 @@ static struct option long_options[] =
{0, 0, 0, 0}
};
-int configuration_output_handler(struct command_context_s *context, const char* line)
+int configuration_output_handler(struct command_context *context, const char* line)
{
LOG_USER_N("%s", line);
@@ -108,7 +108,7 @@ static void add_default_dirs(void)
#endif
}
-int parse_cmdline_args(struct command_context_s *cmd_ctx, int argc, char *argv[])
+int parse_cmdline_args(struct command_context *cmd_ctx, int argc, char *argv[])
{
int c;
char command_buffer[128];