From ef746e27c55c14b7a4f6381c490e5c175e409c0b Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 13:30:50 -0800 Subject: command_t -> struct command Remove misleading typedef and redundant suffix from struct command. --- src/hello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hello.c') diff --git a/src/hello.c b/src/hello.c index 267cc28e..275150a4 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; -- cgit v1.2.3