summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-12-16 14:44:58 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-12-16 14:52:22 +0100
commitfcd3c52611009559b1954a43463e7015870d36c2 (patch)
tree46960bf6251fbbfea7ce890703a4206a5b4b974c /src
parentc8b8a34bb5e98660c4ce3683fb64af31b494d55c (diff)
downloadopenocd+libswd-fcd3c52611009559b1954a43463e7015870d36c2.tar.gz
openocd+libswd-fcd3c52611009559b1954a43463e7015870d36c2.tar.bz2
openocd+libswd-fcd3c52611009559b1954a43463e7015870d36c2.tar.xz
openocd+libswd-fcd3c52611009559b1954a43463e7015870d36c2.zip
zy1000: removed some redundant include
spotted by lint. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/ecosboard.c26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c
index 2a9950d6..32eb0852 100644
--- a/src/ecosboard.c
+++ b/src/ecosboard.c
@@ -32,6 +32,7 @@
#include <openocd.h>
#include <helper/time_support.h>
+
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
@@ -53,31 +54,12 @@
#include <cyg/athttpd/cgi.h>
#include <cyg/athttpd/forms.h>
#include <cyg/discover/discover.h>
-#include <cyg/hal/hal_diag.h>
-#include <cyg/kernel/kapi.h>
-#include <cyg/io/serialio.h>
#include <cyg/io/io.h>
+#include <cyg/io/serialio.h>
#include <netinet/tcp.h>
-#include "rom.h"
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <net/if.h>
-#include <arpa/inet.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <unistd.h>
-#include <arpa/inet.h>
-#include <stdio.h>
-#include <ifaddrs.h>
-#include <string.h>
-
-#include <unistd.h>
-#include <stdio.h>
+#include <cyg/hal/hal_diag.h>
-#include <openocd.h>
+#include "rom.h"
#ifdef CYGPKG_HAL_NIOS2
#define ZY1000_SER_DEV "/dev/uart_0"