aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm920t.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 11:32:28 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 11:32:28 +0000
commit818aa27a9d44e62f19cfdf757ac03ec9da2f730b (patch)
tree49528e471745d355044dd87f134f7f247f9e521f /src/target/arm920t.c
parent4deb42ed004f90058856b1d72dda63c4843b3854 (diff)
downloadriscv-openocd-818aa27a9d44e62f19cfdf757ac03ec9da2f730b.zip
riscv-openocd-818aa27a9d44e62f19cfdf757ac03ec9da2f730b.tar.gz
riscv-openocd-818aa27a9d44e62f19cfdf757ac03ec9da2f730b.tar.bz2
First step in hiding target_type_s from public interface:
- Add DEFINE_TARGET_TYPE_S symbol in files that need it defined. - Forward declare 'struct target_type_s' only, unless that symbol is defined. git-svn-id: svn://svn.berlios.de/openocd/trunk@1969 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm920t.c')
-rw-r--r--src/target/arm920t.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c
index d34f734..21fc46a 100644
--- a/src/target/arm920t.c
+++ b/src/target/arm920t.c
@@ -21,6 +21,7 @@
#include "config.h"
#endif
+#define DEFINE_TARGET_TYPE_S
#include "arm920t.h"
#include "time_support.h"