target: no implicit #includes of "register.h"
[fw/openocd] / src / target / trace.c
index bb57978cf66dfb60e4e22c7c7666704d9c4a31b7..6ec08d6ff6a021d80429b57821162dd2f0e8ca7a 100644 (file)
@@ -156,9 +156,9 @@ COMMAND_HANDLER(handle_trace_history_command)
        return ERROR_OK;
 }
 
-int trace_register_commands(struct command_context_s *cmd_ctx)
+int trace_register_commands(struct command_context *cmd_ctx)
 {
-       command_t *trace_cmd =
+       struct command *trace_cmd =
                register_command(cmd_ctx, NULL, "trace", NULL, COMMAND_ANY, "trace commands");
 
        register_command(cmd_ctx, trace_cmd, "history", handle_trace_history_command,