aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:55:49 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commitd0dee7ccafcf87259fadf6c5de43df8583b0e885 (patch)
tree19cdaeffd3bbd10f4d5c740b8a9b34693d967de3 /src/target/target.h
parentac927559c3ce5406adac34b9d4ca4ecb37a48181 (diff)
downloadriscv-openocd-d0dee7ccafcf87259fadf6c5de43df8583b0e885.zip
riscv-openocd-d0dee7ccafcf87259fadf6c5de43df8583b0e885.tar.gz
riscv-openocd-d0dee7ccafcf87259fadf6c5de43df8583b0e885.tar.bz2
reg_t -> struct reg
Remove misleading typedef and redundant suffix from struct reg.
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 50e8c62..b2c908a 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -32,7 +32,7 @@
#include "algorithm.h"
#include "command.h"
-struct reg_s;
+struct reg;
struct trace;
struct command_context_s;
@@ -339,7 +339,7 @@ int target_remove_watchpoint(struct target_s *target,
* This routine is a wrapper for target->type->get_gdb_reg_list.
*/
int target_get_gdb_reg_list(struct target_s *target,
- struct reg_s **reg_list[], int *reg_list_size);
+ struct reg **reg_list[], int *reg_list_size);
/**
* Step the target.