]> git.sur5r.net Git - openocd/commitdiff
pic32mx_mem_layout_t -> struct pic32mx_mem_layout
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 15:41:51 +0000 (07:41 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:08 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct pic32mx_mem_layout.

src/flash/pic32mx.h

index 4ece7d047e03ca8b0c3f72fa2d2d46d0b64f8f05..3a3c9794f4daa041e2612de4463b2bbe6e9af5f4 100644 (file)
@@ -104,10 +104,10 @@ struct pic32mx_flash_bank
 #define NVMKEY1                        0xAA996655
 #define NVMKEY2                        0x556699AA
 
-typedef struct pic32mx_mem_layout_s {
+struct pic32mx_mem_layout {
        uint32_t sector_start;
        uint32_t sector_size;
-} pic32mx_mem_layout_t;
+};
 
 #endif /* PIC32MX_H */