summaryrefslogtreecommitdiff
path: root/src/target/trace.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 10:11:13 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:14 -0800
commit0f1163e823c6ca3c2a81fa296157f5dde0635fea (patch)
tree60551098bba500cd8b7fc4bd669d64fd3ed8f061 /src/target/trace.h
parentd0dee7ccafcf87259fadf6c5de43df8583b0e885 (diff)
downloadopenocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.gz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.bz2
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.xz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.zip
target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
Diffstat (limited to 'src/target/trace.h')
-rw-r--r--src/target/trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/trace.h b/src/target/trace.h
index cca84d79..483f9429 100644
--- a/src/target/trace.h
+++ b/src/target/trace.h
@@ -22,7 +22,7 @@
#include "types.h"
-struct target_s;
+struct target;
struct command_context_s;
struct trace_point
@@ -51,7 +51,7 @@ typedef enum trace_status
TRACE_OVERFLOWED = 0x8,
} trace_status_t;
-int trace_point(struct target_s *target, uint32_t number);
+int trace_point(struct target *target, uint32_t number);
int trace_register_commands(struct command_context_s *cmd_ctx);
#define ERROR_TRACE_IMAGE_UNAVAILABLE -(1500)