summaryrefslogtreecommitdiff
path: root/src/target/arm_simulator.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:14 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:14 -0800
commit8193f17c3aeb948ca8f70ed3361e8b2bccefffed (patch)
tree92a85ed1cca372c0da886fe1a3fc3e22b894d83f /src/target/arm_simulator.c
parent1186f7efa72a86a7000dce60b090bd4f822cdceb (diff)
downloadopenocd+libswd-8193f17c3aeb948ca8f70ed3361e8b2bccefffed.tar.gz
openocd+libswd-8193f17c3aeb948ca8f70ed3361e8b2bccefffed.tar.bz2
openocd+libswd-8193f17c3aeb948ca8f70ed3361e8b2bccefffed.tar.xz
openocd+libswd-8193f17c3aeb948ca8f70ed3361e8b2bccefffed.zip
target: no implicit #includes of "register.h"
Same deal: "register.h" got needlessly included all over the place because of being in a few widely included headers. So take it out of the header files which included it, and put it in files which use it ... reduce needless interdependencies. Also, don't need that extra "types.h" inclusion. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_simulator.c')
-rw-r--r--src/target/arm_simulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c
index 120d5b92..a353c132 100644
--- a/src/target/arm_simulator.c
+++ b/src/target/arm_simulator.c
@@ -28,6 +28,7 @@
#include "arm_disassembler.h"
#include "arm_simulator.h"
#include "binarybuffer.h"
+#include "register.h"
static uint32_t arm_shift(uint8_t shift, uint32_t Rm,