diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:42:46 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:11 -0800 |
commit | 99614219ad111c124ea5d5f997bb388cbcf00e32 (patch) | |
tree | 08d933ddbcad053af55c55892add320f7ea21ba7 /src/target/oocd_trace.c | |
parent | e2001ba2116fe5c0c75f7953b5fbe35da65fa29d (diff) | |
download | riscv-openocd-99614219ad111c124ea5d5f997bb388cbcf00e32.zip riscv-openocd-99614219ad111c124ea5d5f997bb388cbcf00e32.tar.gz riscv-openocd-99614219ad111c124ea5d5f997bb388cbcf00e32.tar.bz2 |
etmv1_trace_data_t -> struct etmv1_trace_data
Remove misleading typedef and redundant suffix from struct etmv1_trace_data.
Diffstat (limited to 'src/target/oocd_trace.c')
-rw-r--r-- | src/target/oocd_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c index f4064f7..b9cd03a 100644 --- a/src/target/oocd_trace.c +++ b/src/target/oocd_trace.c @@ -208,7 +208,7 @@ static int oocd_trace_read_trace(etm_context_t *etm_ctx) } etm_ctx->trace_depth = num_frames * 16; - etm_ctx->trace_data = malloc(sizeof(etmv1_trace_data_t) * etm_ctx->trace_depth); + etm_ctx->trace_data = malloc(sizeof(struct etmv1_trace_data) * etm_ctx->trace_depth); for (i = 0; i < num_frames * 16; i++) { |