]> git.sur5r.net Git - openocd/commit
target: further shrink Jim-awareness
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 13 Dec 2009 20:52:23 +0000 (12:52 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 13 Dec 2009 20:52:23 +0000 (12:52 -0800)
commit38e376d232ecb3d6a436a20c09019d1a13b0d42b
tree86e24e00f6cb5ef1f4cc2560614b6ba7e1c3c251
parent0a9d7cab6d76d1203d46e51140ad97d0b5cace56
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>
src/target/target.c
src/target/target.h
src/target/target_request.c
src/target/testee.c