command_t -> struct command
[fw/openocd] / src / flash / str7x.c
index 83070134e7a61b15878bbce7a46bdaf2b5ad0255..71709bb028572684d79fe06a7e174e207eb7ca3d 100644 (file)
@@ -673,7 +673,7 @@ COMMAND_HANDLER(str7x_handle_disable_jtag_command)
 
 static int str7x_register_commands(struct command_context *cmd_ctx)
 {
-       command_t *str7x_cmd = register_command(cmd_ctx, NULL, "str7x",
+       struct command *str7x_cmd = register_command(cmd_ctx, NULL, "str7x",
                        NULL, COMMAND_ANY, "str7x flash specific commands");
 
        register_command(cmd_ctx, str7x_cmd, "disable_jtag",