Audit and eliminate redundant #include directives in core target files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1713 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
zwelch 2009-05-11 04:38:18 +00:00
parent fbcb57baf8
commit 03f3296046
3 changed files with 8 additions and 25 deletions

View File

@ -20,7 +20,7 @@
#ifndef BREAKPOINTS_H #ifndef BREAKPOINTS_H
#define BREAKPOINTS_H #define BREAKPOINTS_H
#include "target.h" #include "types.h"
struct target_s; struct target_s;

View File

@ -33,30 +33,16 @@
#include "config.h" #include "config.h"
#endif #endif
#include "replacements.h"
#include "target.h" #include "target.h"
#include "target_request.h" #include "target_request.h"
#include "time_support.h"
#include "log.h" #include "register.h"
#include "configuration.h" #include "trace.h"
#include "binarybuffer.h" #include "image.h"
#include "jtag.h" #include "jtag.h"
#include <string.h>
#include <stdlib.h>
#include <inttypes.h> #include <inttypes.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#include <sys/time.h>
#include <time.h>
#include <time_support.h>
#include <fileio.h>
#include <image.h>
static int handle_targets_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); static int handle_targets_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);

View File

@ -26,19 +26,16 @@
#ifndef TARGET_H #ifndef TARGET_H
#define TARGET_H #define TARGET_H
#include "register.h"
#include "breakpoints.h" #include "breakpoints.h"
#include "algorithm.h" #include "algorithm.h"
#include "trace.h"
#include "command.h" #include "command.h"
#include "types.h"
#include <sys/time.h> #include "replacements.h"
#include <time.h>
struct reg_s; struct reg_s;
struct trace_s;
struct command_context_s; struct command_context_s;
/* /*
* TARGET_UNKNOWN = 0: we don't know anything about the target yet * TARGET_UNKNOWN = 0: we don't know anything about the target yet
* TARGET_RUNNING = 1: the target is executing user code * TARGET_RUNNING = 1: the target is executing user code