aboutsummaryrefslogtreecommitdiff
path: root/src/target/trace.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:26:19 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commit4952eadd8f04ca3755c30013abc3ea85e35d8654 (patch)
tree70987539f0a0e9b3cadc6168e4944ede228bcf7b /src/target/trace.h
parentd90063ffc54ea042c0ff37e6cec1e95848bf1e26 (diff)
downloadriscv-openocd-4952eadd8f04ca3755c30013abc3ea85e35d8654.zip
riscv-openocd-4952eadd8f04ca3755c30013abc3ea85e35d8654.tar.gz
riscv-openocd-4952eadd8f04ca3755c30013abc3ea85e35d8654.tar.bz2
trace_t -> struct trace
Remove misleading typedef and redundant suffix from struct trace.
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 9fa8d60..cca84d7 100644
--- a/src/target/trace.h
+++ b/src/target/trace.h
@@ -31,7 +31,7 @@ struct trace_point
uint64_t hit_counter;
};
-typedef struct trace_s
+struct trace
{
uint32_t num_trace_points;
uint32_t trace_points_size;
@@ -40,7 +40,7 @@ typedef struct trace_s
uint32_t *trace_history;
uint32_t trace_history_pos;
int trace_history_overflowed;
-} trace_t;
+};
typedef enum trace_status
{