summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:44:08 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:12 -0800
commit74d09617b927ed7011098d5a65087dee1ef1e87a (patch)
treeb73fe576548030923a72944b8f8a9e31bb9a342c /src/target/target.c
parentde3fb2f3bce2de5be44223204ce368216ed85b0f (diff)
downloadopenocd_libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.gz
openocd_libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.bz2
openocd_libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.xz
openocd_libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.zip
reg_cache_t -> struct reg_cache
Remove misleading typedef and redundant suffix from struct reg_cache.
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c
index e8f91def..eaa29db1 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -1876,7 +1876,7 @@ COMMAND_HANDLER(handle_reg_command)
/* list all available registers for the current target */
if (argc == 0)
{
- reg_cache_t *cache = target->reg_cache;
+ struct reg_cache *cache = target->reg_cache;
count = 0;
while (cache)
@@ -1919,7 +1919,7 @@ COMMAND_HANDLER(handle_reg_command)
unsigned num;
COMMAND_PARSE_NUMBER(uint, args[0], num);
- reg_cache_t *cache = target->reg_cache;
+ struct reg_cache *cache = target->reg_cache;
count = 0;
while (cache)
{