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,7 +27,6 @@
|
||||
#define TARGET_H
|
||||
|
||||
#include <helper/types.h>
|
||||
#include <helper/jim.h>
|
||||
|
||||
struct reg;
|
||||
struct trace;
|
||||
@@ -214,7 +213,7 @@ enum target_event
|
||||
|
||||
struct target_event_action {
|
||||
enum target_event event;
|
||||
Jim_Interp *interp;
|
||||
struct Jim_Interp *interp;
|
||||
struct Jim_Obj *body;
|
||||
int has_percent;
|
||||
struct target_event_action *next;
|
||||
|
||||
Reference in New Issue
Block a user