Audit and reduce #include directives in jim source files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
4c71ca6b5f
commit
85f9734103
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue