summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
Diffstat (limited to 'src/target')
-rw-r--r--src/target/algorithm.h2
-rw-r--r--src/target/arm11.c1
-rw-r--r--src/target/arm7_9_common.c1
-rw-r--r--src/target/armv4_5.c1
-rw-r--r--src/target/armv7m.c1
-rw-r--r--src/target/target.h3
6 files changed, 6 insertions, 3 deletions
diff --git a/src/target/algorithm.h b/src/target/algorithm.h
index 80f081db..abb8ecfc 100644
--- a/src/target/algorithm.h
+++ b/src/target/algorithm.h
@@ -20,8 +20,6 @@
#ifndef ALGORITHM_H
#define ALGORITHM_H
-#include "types.h"
-
enum param_direction
{
PARAM_IN,
diff --git a/src/target/arm11.c b/src/target/arm11.c
index f4e2c0d5..cdeb4200 100644
--- a/src/target/arm11.c
+++ b/src/target/arm11.c
@@ -33,6 +33,7 @@
#include "arm_simulator.h"
#include "time_support.h"
#include "target_type.h"
+#include "algorithm.h"
#if 0
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index b07111eb..76c79c3a 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -36,6 +36,7 @@
#include "arm7_9_common.h"
#include "time_support.h"
#include "arm_simulator.h"
+#include "algorithm.h"
/**
diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c
index 47b32add..e6e0bd7e 100644
--- a/src/target/armv4_5.c
+++ b/src/target/armv4_5.c
@@ -31,6 +31,7 @@
#include "breakpoints.h"
#include "arm_disassembler.h"
#include "binarybuffer.h"
+#include "algorithm.h"
char* armv4_5_core_reg_list[] =
diff --git a/src/target/armv7m.c b/src/target/armv7m.c
index 6c6a9ec6..3f9e7f55 100644
--- a/src/target/armv7m.c
+++ b/src/target/armv7m.c
@@ -36,6 +36,7 @@
#include "breakpoints.h"
#include "armv7m.h"
+#include "algorithm.h"
#define ARRAY_SIZE(x) ((int)(sizeof(x)/sizeof((x)[0])))
diff --git a/src/target/target.h b/src/target/target.h
index 06105ee6..75bc4f02 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -28,7 +28,6 @@
#include <stddef.h>
-#include "algorithm.h"
#include "command.h"
struct reg;
@@ -36,6 +35,8 @@ struct trace;
struct command_context;
struct breakpoint;
struct watchpoint;
+struct mem_param;
+struct reg_param;
/**