forked from auracaster/openocd
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user