diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-16 00:35:05 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-16 00:35:05 -0800 |
commit | db094c2e60176b3c63ce788159b04a7024ad1010 (patch) | |
tree | 21829e96c035889023c451e02b1243678505ae60 /src/flash/ecos.c | |
parent | aa7c449600d6f6d634f587de6091421a1a877af5 (diff) | |
download | openocd_libswd-db094c2e60176b3c63ce788159b04a7024ad1010.tar.gz openocd_libswd-db094c2e60176b3c63ce788159b04a7024ad1010.tar.bz2 openocd_libswd-db094c2e60176b3c63ce788159b04a7024ad1010.tar.xz openocd_libswd-db094c2e60176b3c63ce788159b04a7024ad1010.zip |
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>
Diffstat (limited to 'src/flash/ecos.c')
-rw-r--r-- | src/flash/ecos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/ecos.c b/src/flash/ecos.c index 0525fbe3..c12ed9d2 100644 --- a/src/flash/ecos.c +++ b/src/flash/ecos.c @@ -24,6 +24,7 @@ #include "flash.h" #include "embeddedice.h" #include "image.h" +#include "algorithm.h" #if 0 |