diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-16 00:35:24 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-16 00:35:24 -0800 |
commit | b695cb75220100cd9bbfaec5bd1740958454130d (patch) | |
tree | 6308a8f1358e96fd4d88c3241b0b24b63f64aaf5 /src/server | |
parent | 8193f17c3aeb948ca8f70ed3361e8b2bccefffed (diff) | |
download | riscv-openocd-b695cb75220100cd9bbfaec5bd1740958454130d.zip riscv-openocd-b695cb75220100cd9bbfaec5bd1740958454130d.tar.gz riscv-openocd-b695cb75220100cd9bbfaec5bd1740958454130d.tar.bz2 |
#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>
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/gdb_server.c | 2 | ||||
-rw-r--r-- | src/server/gdb_server.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 21db296..f6b44cd 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -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" diff --git a/src/server/gdb_server.h b/src/server/gdb_server.h index 4513e8a..a8e8dad 100644 --- a/src/server/gdb_server.h +++ b/src/server/gdb_server.h @@ -26,8 +26,6 @@ #ifndef GDB_SERVER_H #define GDB_SERVER_H -#include "target.h" - struct image; #define GDB_BUFFER_SIZE 16384 |