summaryrefslogtreecommitdiff
path: root/src/target/image.c
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.c
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.c')
-rw-r--r--src/target/image.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/target/image.c b/src/target/image.c
index 8a166d68..71939e79 100644
--- a/src/target/image.c
+++ b/src/target/image.c
@@ -27,20 +27,10 @@
#include "config.h"
#endif
-#include <stdlib.h>
-#include <string.h>
-#ifdef HAVE_ELF_H
-#include <elf.h>
-#endif
-
#include "image.h"
-
-#include "types.h"
-#include "replacements.h"
+#include "target.h"
#include "log.h"
-#include "fileio.h"
-#include "target.h"
/* convert ELF header field to host endianness */
#define field16(elf,field)\