]> git.sur5r.net Git - openocd/commitdiff
arm9tdmi_vector_t -> struct arm9tdmi_vector
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 17:04:14 +0000 (09:04 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:12 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct arm9tdmi_vector.

Renames enum arm9tdmi_vector as enum arm9tdmi_vector_bit.

src/target/arm9tdmi.c
src/target/arm9tdmi.h

index 5e0349346be024c06e47df86cf372a050807dad0..fdd395a52d1097200667b485b1a6623586cab97b 100644 (file)
@@ -45,7 +45,7 @@
 #define _DEBUG_INSTRUCTION_EXECUTION_
 #endif
 
-static const arm9tdmi_vector_t arm9tdmi_vectors[] =
+static const struct arm9tdmi_vector arm9tdmi_vectors[] =
 {
        {"reset", ARM9TDMI_RESET_VECTOR},
        {"undef", ARM9TDMI_UNDEF_VECTOR},
index 552231791ce8f6f2ebd86dd19a1319dc8ded3910..2e25b52c1212cd4ca1111916a25a5ceed535a26e 100644 (file)
@@ -33,13 +33,13 @@ struct arm9tdmi_common
        struct arm7_9_common arm7_9_common;
 };
 
-typedef struct arm9tdmi_vector_s
+struct arm9tdmi_vector
 {
        char *name;
        uint32_t value;
-} arm9tdmi_vector_t;
+};
 
-enum arm9tdmi_vector
+enum arm9tdmi_vector_bit
 {
        ARM9TDMI_RESET_VECTOR = 0x01,
        ARM9TDMI_UNDEF_VECTOR = 0x02,