remove unused include file: inttypes.h
[fw/openocd] / src / target / trace.c
index 50f526a949acdd965dc55d3307e04b4b2c315044..59489fe4e77ca8b7a5a92ac28eae6adfd20fab39 100644 (file)
 #include "config.h"
 #endif
 
-#include "replacements.h"
 #include "log.h"
 #include "trace.h"
 #include "target.h"
-#include "command.h"
-
-#include <stdlib.h>
-#include <string.h>
-#include <inttypes.h>
 
 int trace_point(target_t *target, u32 number)
 {
@@ -64,7 +58,7 @@ static int handle_trace_point_command(struct command_context_s *cmd_ctx, char *c
                
                for (i = 0; i < trace->num_trace_points; i++)
                {
-                       command_print(cmd_ctx, "trace point 0x%8.8x (%"PRIi64" times hit)",
+                       command_print(cmd_ctx, "trace point 0x%8.8x (%lld times hit)",
                                        trace->trace_points[i].address,
                                        trace->trace_points[i].hit_counter);
                }