diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 07:44:57 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 07:44:57 +0000 |
commit | 85f97341032177d4cc909377edb3580bc6a57245 (patch) | |
tree | e4960d66c348049b3c5596dbea9e207a36a88019 /src | |
parent | 4c71ca6b5ffe6dfba24da7607212a38dc90a0141 (diff) | |
download | openocd+libswd-85f97341032177d4cc909377edb3580bc6a57245.tar.gz openocd+libswd-85f97341032177d4cc909377edb3580bc6a57245.tar.bz2 openocd+libswd-85f97341032177d4cc909377edb3580bc6a57245.tar.xz openocd+libswd-85f97341032177d4cc909377edb3580bc6a57245.zip |
Audit and reduce #include directives in jim source files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/jim-eventloop.c | 7 | ||||
-rw-r--r-- | src/helper/jim.c | 16 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/helper/jim-eventloop.c b/src/helper/jim-eventloop.c index a6283bfe..d53a76db 100644 --- a/src/helper/jim-eventloop.c +++ b/src/helper/jim-eventloop.c @@ -61,13 +61,6 @@ #include "jim-eventloop.h" #endif -/* POSIX includes */ -#include <sys/time.h> -#include <sys/types.h> -#include <unistd.h> -#include <stdio.h> -#include <errno.h> - #include "replacements.h" diff --git a/src/helper/jim.c b/src/helper/jim.c index 5122615d..e344ef59 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -53,20 +53,8 @@ #define JIM_DYNLIB /* Dynamic library support for UNIX and WIN32 */ #endif /* JIM_ANSIC */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> #include <stdarg.h> -#include <ctype.h> #include <limits.h> -#include <assert.h> -#include <errno.h> -#include <time.h> -#if defined(WIN32) -/* sys/time - need is different */ -#else -#include <sys/time.h> // for gettimeofday() -#endif #include "replacements.h" @@ -90,10 +78,6 @@ #endif /* WIN32 */ #endif /* JIM_DYNLIB */ -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif - #ifdef __ECOS #include <cyg/jimtcl/jim.h> #else |