summaryrefslogtreecommitdiff
path: root/src/target/mips_m4k.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:56:37 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:56:37 +0000
commit56504fdd7353732525e34f1e3fbd44346588f979 (patch)
tree1f773aa47f7e8640a859a61c77edbb55aa79dc55 /src/target/mips_m4k.h
parent68b05c55759970657c32607b3ce27c42e65cdad0 (diff)
downloadopenocd+libswd-56504fdd7353732525e34f1e3fbd44346588f979.tar.gz
openocd+libswd-56504fdd7353732525e34f1e3fbd44346588f979.tar.bz2
openocd+libswd-56504fdd7353732525e34f1e3fbd44346588f979.tar.xz
openocd+libswd-56504fdd7353732525e34f1e3fbd44346588f979.zip
Audit and eliminate redundant #include directives in other target files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1715 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/mips_m4k.h')
-rw-r--r--src/target/mips_m4k.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/target/mips_m4k.h b/src/target/mips_m4k.h
index ccc8e6e7..3ecb7f4f 100644
--- a/src/target/mips_m4k.h
+++ b/src/target/mips_m4k.h
@@ -23,8 +23,9 @@
#ifndef MIPS_M4K_H
#define MIPS_M4K_H
-#include "register.h"
-#include "target.h"
+#include "types.h"
+
+struct target_s;
#define MIPSM4K_COMMON_MAGIC 0xB321B321
@@ -34,7 +35,7 @@ typedef struct mips_m4k_common_s
mips32_common_t mips32_common;
} mips_m4k_common_t;
-extern int mips_m4k_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buffer);
+extern int mips_m4k_bulk_write_memory(struct target_s *target, u32 address, u32 count, u8 *buffer);
extern void mips_m4k_enable_breakpoints(struct target_s *target);
extern int mips_m4k_set_breakpoint(struct target_s *target, breakpoint_t *breakpoint);