#include "target.h" less wildly

Don't include "target.h" from more headers than necessary.  This
avoids needless interdependencies and duplicated include paths.

Don't needlessly include it in source files, either.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell
2009-11-16 00:35:24 -08:00
parent 8193f17c3a
commit b695cb7522
17 changed files with 10 additions and 15 deletions

View File

@@ -27,12 +27,12 @@
#include "config.h"
#endif
#include "gdb_server.h"
#include "breakpoints.h"
#include "target_request.h"
#include "register.h"
#include "server.h"
#include "flash.h"
#include "gdb_server.h"
#include "image.h"
#include "jtag.h"

View File

@@ -26,8 +26,6 @@
#ifndef GDB_SERVER_H
#define GDB_SERVER_H
#include "target.h"
struct image;
#define GDB_BUFFER_SIZE 16384