summaryrefslogtreecommitdiff
path: root/src/target/etm.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:42:46 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commit99614219ad111c124ea5d5f997bb388cbcf00e32 (patch)
tree08d933ddbcad053af55c55892add320f7ea21ba7 /src/target/etm.c
parente2001ba2116fe5c0c75f7953b5fbe35da65fa29d (diff)
downloadopenocd+libswd-99614219ad111c124ea5d5f997bb388cbcf00e32.tar.gz
openocd+libswd-99614219ad111c124ea5d5f997bb388cbcf00e32.tar.bz2
openocd+libswd-99614219ad111c124ea5d5f997bb388cbcf00e32.tar.xz
openocd+libswd-99614219ad111c124ea5d5f997bb388cbcf00e32.zip
etmv1_trace_data_t -> struct etmv1_trace_data
Remove misleading typedef and redundant suffix from struct etmv1_trace_data.
Diffstat (limited to 'src/target/etm.c')
-rw-r--r--src/target/etm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/etm.c b/src/target/etm.c
index f423835f..9952279d 100644
--- a/src/target/etm.c
+++ b/src/target/etm.c
@@ -1914,7 +1914,7 @@ COMMAND_HANDLER(handle_etm_load_command)
fileio_read_u32(&file, &tmp); etm_ctx->tracemode = tmp;
fileio_read_u32(&file, &etm_ctx->trace_depth);
}
- 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);
if (etm_ctx->trace_data == NULL)
{
command_print(cmd_ctx, "not enough memory to perform operation");