build: add helper/types.h to config.h
this header is used in numerous files and adding to config.h simplifies its use globally. Change-Id: Id724a9950b90504721233022c7fb5768e9bc5548 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/649 Tested-by: jenkins Reviewed-by: Xiaofan <xiaofanc@gmail.com>
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
#ifndef ARM_DISASSEMBLER_H
|
||||
#define ARM_DISASSEMBLER_H
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
enum arm_instruction_type {
|
||||
ARM_UNKNOWN_INSTUCTION,
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#ifndef ARM_SIMULATOR_H
|
||||
#define ARM_SIMULATOR_H
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
struct target;
|
||||
|
||||
struct arm_sim_interface {
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#ifndef ARMV4_5_CACHE_H
|
||||
#define ARMV4_5_CACHE_H
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
struct command_context;
|
||||
|
||||
struct armv4_5_cachesize {
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#ifndef AVR32_AP7K
|
||||
#define AVR32_AP7K
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
struct target;
|
||||
|
||||
#define AP7k_COMMON_MAGIC 0x4150374b
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#endif
|
||||
|
||||
#include "target.h"
|
||||
#include "helper/types.h"
|
||||
#include "jtag/jtag.h"
|
||||
#include "avr32_jtag.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#ifndef BREAKPOINTS_H
|
||||
#define BREAKPOINTS_H
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
struct target;
|
||||
|
||||
enum breakpoint_type {
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
#ifndef MIPS_M4K_H
|
||||
#define MIPS_M4K_H
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
struct target;
|
||||
|
||||
#define MIPSM4K_COMMON_MAGIC 0xB321B321
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <helper/types.h>
|
||||
#include "register.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#endif
|
||||
|
||||
#include "server/server.h"
|
||||
#include <helper/types.h>
|
||||
|
||||
#include "target/target.h"
|
||||
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
#ifndef TARGET_H
|
||||
#define TARGET_H
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
struct reg;
|
||||
struct trace;
|
||||
struct command_context;
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#ifndef TARGET_TYPE_H
|
||||
#define TARGET_TYPE_H
|
||||
|
||||
#include <helper/types.h>
|
||||
#include <jim-nvp.h>
|
||||
|
||||
struct target;
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#ifndef TRACE_H
|
||||
#define TRACE_H
|
||||
|
||||
#include <helper/types.h>
|
||||
|
||||
struct target;
|
||||
struct command_context;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user