command_t -> struct command
[fw/openocd] / src / flash / pic32mx.c
index bb3d69c16bc45654ddb9985e273de0bcdcdf9e7d..b6c4c440f4112ed99aee6317d857b4e923c11acd 100644 (file)
@@ -885,7 +885,7 @@ COMMAND_HANDLER(pic32mx_handle_pgm_word_command)
 
 static int pic32mx_register_commands(struct command_context *cmd_ctx)
 {
-       command_t *pic32mx_cmd = register_command(cmd_ctx, NULL, "pic32mx",
+       struct command *pic32mx_cmd = register_command(cmd_ctx, NULL, "pic32mx",
                        NULL, COMMAND_ANY, "pic32mx flash specific commands");
 #if 0
        register_command(cmd_ctx, pic32mx_cmd, "lock",