summaryrefslogtreecommitdiff
path: root/src/flash/str7x.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:39:09 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit774d71f2cf7bce27a01424fad360cbadebf20459 (patch)
tree5690cf804e2dc6065ba62d695d0f83519c055fff /src/flash/str7x.h
parent3b09560ae8db9685f03b358709fc63d1bb545628 (diff)
downloadopenocd+libswd-774d71f2cf7bce27a01424fad360cbadebf20459.tar.gz
openocd+libswd-774d71f2cf7bce27a01424fad360cbadebf20459.tar.bz2
openocd+libswd-774d71f2cf7bce27a01424fad360cbadebf20459.tar.xz
openocd+libswd-774d71f2cf7bce27a01424fad360cbadebf20459.zip
str7x_mem_layout_t -> struct str7x_mem_layout
Remove misleading typedef and redundant suffix from struct str7x_mem_layout.
Diffstat (limited to 'src/flash/str7x.h')
-rw-r--r--src/flash/str7x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/str7x.h b/src/flash/str7x.h
index 838d46c2..ef2d2e33 100644
--- a/src/flash/str7x.h
+++ b/src/flash/str7x.h
@@ -101,10 +101,10 @@ enum str7x_status_codes
#define FLASH_ERER 0x00000002
#define FLASH_ERR 0x00000001
-typedef struct str7x_mem_layout_s {
+struct str7x_mem_layout {
uint32_t sector_start;
uint32_t sector_size;
uint32_t sector_bit;
-} str7x_mem_layout_t;
+};
#endif /* STR7X_H */