command_t -> struct command
[fw/openocd] / src / target / arm926ejs.c
index b2f246f90f6a36b2d6dad86d78508a8b8c23b16c..c7609c472a41409fed0f2a81e0330b73cbbd1450 100644 (file)
@@ -474,7 +474,7 @@ static void arm926ejs_pre_restore_context(struct target *target)
 
 static const char arm926_not[] = "target is not an ARM926";
 
-static int arm926ejs_verify_pointer(struct command_context_s *cmd_ctx,
+static int arm926ejs_verify_pointer(struct command_context *cmd_ctx,
                struct arm926ejs_common *arm926)
 {
        if (arm926->common_magic != ARM926EJS_COMMON_MAGIC) {
@@ -818,10 +818,10 @@ static int arm926ejs_mmu(struct target *target, int *enabled)
 }
 
 /** Registers commands to access coprocessor, cache, and debug resources.  */
-int arm926ejs_register_commands(struct command_context_s *cmd_ctx)
+int arm926ejs_register_commands(struct command_context *cmd_ctx)
 {
        int retval;
-       command_t *arm926ejs_cmd;
+       struct command *arm926ejs_cmd;
 
        retval = arm9tdmi_register_commands(cmd_ctx);