command_t -> struct command

Remove misleading typedef and redundant suffix from struct command.
This commit is contained in:
Zachary T Welch
2009-11-13 13:30:50 -08:00
parent 98723c4ecd
commit ef746e27c5
44 changed files with 72 additions and 72 deletions

View File

@@ -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;