aboutsummaryrefslogtreecommitdiff
path: root/src/hello.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
commitef746e27c55c14b7a4f6381c490e5c175e409c0b (patch)
treec98f55afdd4a40de64371a04f7d201a47decb7e4 /src/hello.c
parent98723c4ecdbe06f90c66f3abec27b792c3b38e34 (diff)
downloadriscv-openocd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.zip
riscv-openocd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.gz
riscv-openocd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.bz2
command_t -> struct command
Remove misleading typedef and redundant suffix from struct command.
Diffstat (limited to 'src/hello.c')
-rw-r--r--src/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello.c b/src/hello.c
index 267cc28..275150a 100644
--- a/src/hello.c
+++ b/src/hello.c
@@ -50,7 +50,7 @@ COMMAND_HANDLER(handle_hello_command)
int hello_register_commands(struct command_context *cmd_ctx)
{
- struct command_s *cmd = register_command(cmd_ctx, NULL, "hello",
+ struct command *cmd = register_command(cmd_ctx, NULL, "hello",
&handle_hello_command, COMMAND_ANY,
"option");
return cmd ? ERROR_OK : -ENOMEM;