From 818aa27a9d44e62f19cfdf757ac03ec9da2f730b Mon Sep 17 00:00:00 2001 From: zwelch Date: Sun, 31 May 2009 11:32:28 +0000 Subject: 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 --- src/target/target.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/target/target.c') diff --git a/src/target/target.c b/src/target/target.c index 04d162b5..d06c317e 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -33,6 +33,8 @@ #include "config.h" #endif +#define DEFINE_TARGET_TYPE_S + #include "target.h" #include "target_request.h" #include "time_support.h" -- cgit v1.2.3