target: don't implicitly include "algorithm.h"
Most files in the tree seem to have ended up including this, and *quite* needlessly ... only code implementing or using downloadable algorithms 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. Also: "algorithm.h" doesn't need to include "types.h" again; it already comes from a different header. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "algorithm.h"
|
||||
#include "command.h"
|
||||
|
||||
struct reg;
|
||||
@@ -36,6 +35,8 @@ struct trace;
|
||||
struct command_context;
|
||||
struct breakpoint;
|
||||
struct watchpoint;
|
||||
struct mem_param;
|
||||
struct reg_param;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user