X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Ftrace.h;h=f6615f599f0018055048bf99dc04fd0e623d9661;hb=3885ab5a5af7ece410ce3eeb1059da3ea950436a;hp=90bd600721f52740d053e2238f70ee1489698e6c;hpb=3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87;p=openocd.git diff --git a/src/target/trace.h b/src/target/trace.h index 90bd600721..f6615f599f 100644 --- a/src/target/trace.h +++ b/src/target/trace.h @@ -28,7 +28,7 @@ struct command_context_s; typedef struct trace_point_s { uint32_t address; - u64 hit_counter; + uint64_t hit_counter; } trace_point_t; typedef struct trace_s @@ -51,8 +51,8 @@ typedef enum trace_status TRACE_OVERFLOWED = 0x8, } trace_status_t; -extern int trace_point(struct target_s *target, uint32_t number); -extern int trace_register_commands(struct command_context_s *cmd_ctx); +int trace_point(struct target_s *target, uint32_t number); +int trace_register_commands(struct command_context_s *cmd_ctx); #define ERROR_TRACE_IMAGE_UNAVAILABLE -(1500) #define ERROR_TRACE_INSTRUCTION_UNAVAILABLE -(1501)