From: Zachary T Welch Date: Fri, 13 Nov 2009 16:41:18 +0000 (-0800) Subject: armv4_5_cachesize_t -> struct armv4_5_cachesize X-Git-Tag: v0.4.0-rc1~683 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e976786d55c367ec5b867baffb055b06bbda6ea0;p=openocd armv4_5_cachesize_t -> struct armv4_5_cachesize Remove misleading typedef and redundant suffix from struct armv4_5_cachesize. --- diff --git a/src/target/armv4_5_cache.h b/src/target/armv4_5_cache.h index 71e3203c..9a06090d 100644 --- a/src/target/armv4_5_cache.h +++ b/src/target/armv4_5_cache.h @@ -24,20 +24,20 @@ struct command_context_s; -typedef struct armv4_5_cachesize_s +struct armv4_5_cachesize { int linelen; int associativity; int nsets; int cachesize; -} armv4_5_cachesize_t; +}; typedef struct armv4_5_cache_common_s { int ctype; /* specify supported cache operations */ int separate; /* separate caches or unified cache */ - armv4_5_cachesize_t d_u_size; /* data cache */ - armv4_5_cachesize_t i_size; /* instruction cache */ + struct armv4_5_cachesize d_u_size; /* data cache */ + struct armv4_5_cachesize i_size; /* instruction cache */ int i_cache_enabled; int d_u_cache_enabled; } armv4_5_cache_common_t;