summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 02:27:16 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 02:27:16 +0000
commit490e2712904a718efb320d0557f3bb8485676709 (patch)
treea6a804b7f4a0ba4d67ff436b40ebcdba4c04f48d
parenteb6da244cb8fcaabb66825ebcd033d4180683806 (diff)
downloadopenocd_libswd-490e2712904a718efb320d0557f3bb8485676709.tar.gz
openocd_libswd-490e2712904a718efb320d0557f3bb8485676709.tar.bz2
openocd_libswd-490e2712904a718efb320d0557f3bb8485676709.tar.xz
openocd_libswd-490e2712904a718efb320d0557f3bb8485676709.zip
Remove redundant sys/types.h #include directives (now in types.h).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/ecosboard.c1
-rw-r--r--src/flash/flash.c1
-rw-r--r--src/flash/mflash.c1
-rw-r--r--src/helper/fileio.c1
-rw-r--r--src/helper/fileio.h1
-rw-r--r--src/helper/ioutil.c2
-rw-r--r--src/jtag/gw16012.c1
-rw-r--r--src/jtag/parport.c1
-rw-r--r--src/jtag/rlink/rlink.h1
-rw-r--r--src/openocd.c1
-rw-r--r--src/pld/pld.c1
-rw-r--r--src/pld/xilinx_bit.c1
-rw-r--r--src/server/httpd.c2
-rw-r--r--src/server/server.c1
-rw-r--r--src/server/server.h2
-rw-r--r--src/svf/svf.c1
-rw-r--r--src/target/arm7_9_common.c1
-rw-r--r--src/target/avrt.c1
-rw-r--r--src/target/target.c1
-rw-r--r--src/target/xscale.c1
-rw-r--r--src/xsvf/xsvf.c1
21 files changed, 0 insertions, 24 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c
index 0784c553..3668c0fc 100644
--- a/src/ecosboard.c
+++ b/src/ecosboard.c
@@ -39,7 +39,6 @@
#include <time_support.h>
#include <sys/time.h>
-#include <sys/types.h>
#include <strings.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/flash/flash.c b/src/flash/flash.c
index a23cbb9f..0ad6c7a6 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -42,7 +42,6 @@
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <inttypes.h>
diff --git a/src/flash/mflash.c b/src/flash/mflash.c
index 08aad9f1..451d942b 100644
--- a/src/flash/mflash.c
+++ b/src/flash/mflash.c
@@ -25,7 +25,6 @@
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <inttypes.h>
diff --git a/src/helper/fileio.c b/src/helper/fileio.c
index c8d30da4..070c0ac5 100644
--- a/src/helper/fileio.c
+++ b/src/helper/fileio.c
@@ -38,7 +38,6 @@
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <ctype.h>
diff --git a/src/helper/fileio.h b/src/helper/fileio.h
index 41f3a788..c764082e 100644
--- a/src/helper/fileio.h
+++ b/src/helper/fileio.h
@@ -33,7 +33,6 @@
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <ctype.h>
diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c
index 8fdbb2b6..ef9c0ceb 100644
--- a/src/helper/ioutil.c
+++ b/src/helper/ioutil.c
@@ -32,7 +32,6 @@
#include <time_support.h>
#include <sys/time.h>
-#include <sys/types.h>
#include <strings.h>
#include <stdio.h>
#include <stdlib.h>
@@ -53,7 +52,6 @@
#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>
diff --git a/src/jtag/gw16012.c b/src/jtag/gw16012.c
index dd306f96..720744a0 100644
--- a/src/jtag/gw16012.c
+++ b/src/jtag/gw16012.c
@@ -33,7 +33,6 @@
/* -ino: 060521-1036 */
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-#include <sys/types.h>
#include <machine/sysarch.h>
#include <machine/cpufunc.h>
#define ioperm(startport,length,enable)\
diff --git a/src/jtag/parport.c b/src/jtag/parport.c
index 9cb06ea3..5f48d3af 100644
--- a/src/jtag/parport.c
+++ b/src/jtag/parport.c
@@ -33,7 +33,6 @@
/* -ino: 060521-1036 */
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-#include <sys/types.h>
#include <machine/sysarch.h>
#include <machine/cpufunc.h>
#define ioperm(startport,length,enable)\
diff --git a/src/jtag/rlink/rlink.h b/src/jtag/rlink/rlink.h
index aa066d73..d24bbe79 100644
--- a/src/jtag/rlink/rlink.h
+++ b/src/jtag/rlink/rlink.h
@@ -19,7 +19,6 @@
***************************************************************************/
#include "types.h"
-#include <sys/types.h>
typedef
struct rlink_speed_table_s {
diff --git a/src/openocd.c b/src/openocd.c
index 7e8b7cdf..839a6bb1 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -47,7 +47,6 @@
#include "tcl_server.h"
#include <sys/time.h>
-#include <sys/types.h>
#include <strings.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/pld/pld.c b/src/pld/pld.c
index 7325a209..39571400 100644
--- a/src/pld/pld.c
+++ b/src/pld/pld.c
@@ -32,7 +32,6 @@
#include <stdlib.h>
#include <unistd.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
diff --git a/src/pld/xilinx_bit.c b/src/pld/xilinx_bit.c
index 8dd2ee46..35cf2f9f 100644
--- a/src/pld/xilinx_bit.c
+++ b/src/pld/xilinx_bit.c
@@ -28,7 +28,6 @@
#include <stdlib.h>
#include <unistd.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
diff --git a/src/server/httpd.c b/src/server/httpd.c
index d94d4f2e..6a4302f9 100644
--- a/src/server/httpd.c
+++ b/src/server/httpd.c
@@ -40,12 +40,10 @@
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
-#include <sys/types.h>
#include <fcntl.h>
#include <pthread.h>
#include <signal.h>
-#include <sys/types.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <microhttpd.h>
diff --git a/src/server/server.c b/src/server/server.c
index 22e01c61..2c5f643e 100644
--- a/src/server/server.c
+++ b/src/server/server.c
@@ -40,7 +40,6 @@
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
-#include <sys/types.h>
#include <fcntl.h>
#include <signal.h>
#ifndef _WIN32
diff --git a/src/server/server.h b/src/server/server.h
index 451ac6f7..2268c310 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -30,8 +30,6 @@
#include "binarybuffer.h"
#include "replacements.h"
-#include <sys/types.h>
-
enum connection_type
{
CONNECTION_TCP,
diff --git a/src/svf/svf.c b/src/svf/svf.c
index 93f8ba44..ea60671c 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -42,7 +42,6 @@
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index b7f4a4df..6a7b77c4 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -48,7 +48,6 @@
#include <string.h>
#include <unistd.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <errno.h>
diff --git a/src/target/avrt.c b/src/target/avrt.c
index af692dd3..e438fcc4 100644
--- a/src/target/avrt.c
+++ b/src/target/avrt.c
@@ -37,7 +37,6 @@
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
diff --git a/src/target/target.c b/src/target/target.c
index 8a38f1fb..29bf8337 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -46,7 +46,6 @@
#include <stdlib.h>
#include <inttypes.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
diff --git a/src/target/xscale.c b/src/target/xscale.c
index bba20eab..a18fe9af 100644
--- a/src/target/xscale.c
+++ b/src/target/xscale.c
@@ -44,7 +44,6 @@
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index da0cb20c..e9b0a008 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -49,7 +49,6 @@
#include <stdlib.h>
#include <unistd.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>