]> git.sur5r.net Git - openocd/commitdiff
zy1000: removed some redundant include
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 16 Dec 2009 13:44:58 +0000 (14:44 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 16 Dec 2009 13:52:22 +0000 (14:52 +0100)
spotted by lint.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/ecosboard.c

index 2a9950d6c9f9d4ec504f007b27009f7b311e2ccf..32eb085281505a146f4c9a136e9375105114cf2a 100644 (file)
@@ -32,6 +32,7 @@
 #include <openocd.h>
 
 #include <helper/time_support.h>
+
 #include <sys/time.h>
 #include <stdio.h>
 #include <stdlib.h>
 #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"