From 22f6a4cef5b4bf6696a7ea0fa41fafc3da06c9fa Mon Sep 17 00:00:00 2001
From: Zachary T Welch <zw@superlucidity.net>
Date: Fri, 13 Nov 2009 09:04:14 -0800
Subject: arm9tdmi_vector_t -> struct arm9tdmi_vector

Remove misleading typedef and redundant suffix from struct arm9tdmi_vector.

Renames enum arm9tdmi_vector as enum arm9tdmi_vector_bit.
---
 src/target/arm9tdmi.c | 2 +-
 src/target/arm9tdmi.h | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/target')

diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c
index 5e034934..fdd395a5 100644
--- a/src/target/arm9tdmi.c
+++ b/src/target/arm9tdmi.c
@@ -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},
diff --git a/src/target/arm9tdmi.h b/src/target/arm9tdmi.h
index 55223179..2e25b52c 100644
--- a/src/target/arm9tdmi.h
+++ b/src/target/arm9tdmi.h
@@ -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,
-- 
cgit v1.2.3