summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 05:00:17 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 05:00:17 +0000
commitf532c7faf8428a24caf1ca247f65d024d816f3e5 (patch)
tree879be67b35fa67e0d609dcb379525df2fc82c224 /src/openocd.c
parent56504fdd7353732525e34f1e3fbd44346588f979 (diff)
downloadopenocd+libswd-f532c7faf8428a24caf1ca247f65d024d816f3e5.tar.gz
openocd+libswd-f532c7faf8428a24caf1ca247f65d024d816f3e5.tar.bz2
openocd+libswd-f532c7faf8428a24caf1ca247f65d024d816f3e5.tar.xz
openocd+libswd-f532c7faf8428a24caf1ca247f65d024d816f3e5.zip
Audit and eliminate redundant #include directives in main src/ files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1716 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 839a6bb1..65664464 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -28,8 +28,6 @@
#include "config.h"
#endif
-#include "log.h"
-#include "types.h"
#include "jtag.h"
#include "configuration.h"
#include "xsvf.h"
@@ -40,19 +38,14 @@
#include "pld.h"
#include "mflash.h"
-#include "command.h"
#include "server.h"
#include "telnet_server.h"
#include "gdb_server.h"
#include "tcl_server.h"
-#include <sys/time.h>
+#ifdef HAVE_STRINGS_H
#include <strings.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <errno.h>
+#endif
#define OPENOCD_VERSION \