diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-11 04:04:58 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-11 04:04:58 +0000 |
commit | 004c7124c44819960da97de85f422f630f04d7ba (patch) | |
tree | 675ba289ab14f98bde23c954048f834ab611b119 /src/jtag/gw16012.c | |
parent | 8a5b25790f064c408d747c9f087c4d45207fc3e4 (diff) | |
download | riscv-openocd-004c7124c44819960da97de85f422f630f04d7ba.zip riscv-openocd-004c7124c44819960da97de85f422f630f04d7ba.tar.gz riscv-openocd-004c7124c44819960da97de85f422f630f04d7ba.tar.bz2 |
Audit and eliminate redundant #include directives from src/jtag.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1707 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/gw16012.c')
-rw-r--r-- | src/jtag/gw16012.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/jtag/gw16012.c b/src/jtag/gw16012.c index 720744a..7845e77 100644 --- a/src/jtag/gw16012.c +++ b/src/jtag/gw16012.c @@ -21,10 +21,9 @@ #include "config.h" #endif -#include "replacements.h" - #include "jtag.h" + #if 1 #define _DEBUG_GW16012_IO_ #endif @@ -40,14 +39,8 @@ #else -#ifdef _WIN32 -#include "errno.h" -#endif /* _WIN32 */ - #endif /* __FreeBSD__, __FreeBSD_kernel__ */ -#include <string.h> -#include <stdlib.h> #if PARPORT_USE_PPDEV == 1 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) @@ -67,14 +60,10 @@ #endif #endif -#if PARPORT_USE_GIVEIO == 1 -#if IS_CYGWIN == 1 +#if PARPORT_USE_GIVEIO == 1 && IS_CYGWIN == 1 #include <windows.h> -#include <errno.h> -#endif #endif -#include "log.h" /* configuration */ u16 gw16012_port; |