From db094c2e60176b3c63ce788159b04a7024ad1010 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 16 Nov 2009 00:35:05 -0800 Subject: 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 --- src/flash/stm32x.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/flash/stm32x.c') diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c index 7ac06a68..70727158 100644 --- a/src/flash/stm32x.c +++ b/src/flash/stm32x.c @@ -27,6 +27,7 @@ #include "stm32x.h" #include "armv7m.h" #include "binarybuffer.h" +#include "algorithm.h" static int stm32x_mass_erase(struct flash_bank *bank); -- cgit v1.2.3