diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-13 12:52:23 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-13 12:52:23 -0800 |
commit | 38e376d232ecb3d6a436a20c09019d1a13b0d42b (patch) | |
tree | 86e24e00f6cb5ef1f4cc2560614b6ba7e1c3c251 /src/target/testee.c | |
parent | 0a9d7cab6d76d1203d46e51140ad97d0b5cace56 (diff) |
target: further shrink Jim-awareness
Don't include <helper/jim.h> from target.h ... not everything
which touches targets needs to be able to talk to Jim. Plus,
most files include this header by another path.
Also, switch the affected files to use the classic sequence
for #included files: all <framework/headers.h> first, then
the "local_headers.h". This helps prevent growth of problematic
layering, by minimizing entanglement.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/testee.c')
-rw-r--r-- | src/target/testee.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/target/testee.c b/src/target/testee.c index 991c64e8..280111a4 100644 --- a/src/target/testee.c +++ b/src/target/testee.c @@ -20,9 +20,11 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif + +#include <helper/log.h> + #include "target.h" #include "target_type.h" -#include <helper/log.h> #include "hello.h" static const struct command_registration testee_command_handlers[] = { |