diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-16 00:34:57 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-16 00:34:57 -0800 |
commit | aa7c449600d6f6d634f587de6091421a1a877af5 (patch) | |
tree | 4db1820d0ba330d23e07177057b888c027e5dac7 /src/target/target.h | |
parent | 5d1a9033ab89b017c95e79590d76abbfa61f7512 (diff) | |
download | riscv-openocd-aa7c449600d6f6d634f587de6091421a1a877af5.zip riscv-openocd-aa7c449600d6f6d634f587de6091421a1a877af5.tar.gz riscv-openocd-aa7c449600d6f6d634f587de6091421a1a877af5.tar.bz2 |
target: don't implicitly include "breakpoint.h"
Most files in the tree seem to have ended up including this,
and *quite* needlessly ... only code implementing or using
breakpoints actually needs these declarations.
So take it out of the header files which included it, and put
it in files which use it ... reduce needless interdependencies.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/target.h b/src/target/target.h index e4de2c7..06105ee 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -28,13 +28,14 @@ #include <stddef.h> -#include "breakpoints.h" #include "algorithm.h" #include "command.h" struct reg; struct trace; struct command_context; +struct breakpoint; +struct watchpoint; /** |