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>
This commit is contained in:
David Brownell
2009-12-13 12:52:23 -08:00
parent 0a9d7cab6d
commit 38e376d232
4 changed files with 10 additions and 7 deletions

View File

@@ -27,12 +27,13 @@
#include "config.h"
#endif
#include <helper/log.h>
#include <helper/binarybuffer.h>
#include "target.h"
#include "target_request.h"
#include "target_type.h"
#include <helper/binarybuffer.h>
#include "trace.h"
#include <helper/log.h>
static int charmsg_mode = 0;