From: zwelch Date: Tue, 12 May 2009 07:44:57 +0000 (+0000) Subject: Audit and reduce #include directives in jim source files. X-Git-Tag: v0.2.0~751 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85f97341032177d4cc909377edb3580bc6a57245;p=openocd Audit and reduce #include directives in jim source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1758 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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 -#include -#include -#include -#include - #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 -#include -#include #include -#include #include -#include -#include -#include -#if defined(WIN32) -/* sys/time - need is different */ -#else -#include // for gettimeofday() -#endif #include "replacements.h" @@ -90,10 +78,6 @@ #endif /* WIN32 */ #endif /* JIM_DYNLIB */ -#ifdef HAVE_UNISTD_H -#include -#endif - #ifdef __ECOS #include #else