summaryrefslogtreecommitdiff
path: root/src/target/image.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/image.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/image.h')
-rw-r--r--src/target/image.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/target/image.h b/src/target/image.h
index c23cdf58..855cb215 100644
--- a/src/target/image.h
+++ b/src/target/image.h
@@ -26,16 +26,11 @@
#ifndef IMAGE_H
#define IMAGE_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "fileio.h"
#ifdef HAVE_ELF_H
#include <elf.h>
#endif
-#include "replacements.h"
-#include "fileio.h"
-#include "target.h"
#define IMAGE_MAX_ERROR_STRING (256)
#define IMAGE_MAX_SECTIONS (128)
@@ -85,7 +80,7 @@ typedef struct image_ihex_s
typedef struct image_memory_s
{
- target_t *target;
+ struct target_s *target;
u8 *cache;
u32 cache_address;
} image_memory_t;