]> git.gag.com Git - fw/openocd/blobdiff - src/hello.c
command_t -> struct command
[fw/openocd] / src / hello.c
index 267cc28e4eda264c8f1e33c489104930dcc2def8..275150a4ba0bd1fa243edde3ec50d0810ecbf8d8 100644 (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;