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
This commit is contained in:
zwelch
2009-05-31 11:32:28 +00:00
parent 4deb42ed00
commit 818aa27a9d
16 changed files with 23 additions and 2 deletions

View File

@@ -23,6 +23,7 @@
#include "config.h"
#endif
#define DEFINE_TARGET_TYPE_S
#include "mips32.h"
#include "mips_m4k.h"
#include "mips32_dmaacc.h"