From 85f97341032177d4cc909377edb3580bc6a57245 Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 12 May 2009 07:44:57 +0000 Subject: [PATCH] Audit and reduce #include directives in jim source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1758 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/jim-eventloop.c | 7 ------- src/helper/jim.c | 16 ---------------- 2 files changed, 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 -#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 -- 2.39.5