From cb4a475f6c26ff197cd9d601b0b9f86653d961a2 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:14:31 -0800 Subject: change #include "jtag.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "jtag.h" the following form should be used. #include The exception is from .c files in the same directory. --- src/target/arm_dpm.c | 2 +- src/target/arm_jtag.h | 2 +- src/target/avrt.h | 2 +- src/target/mips_ejtag.h | 2 +- src/target/target.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/target') diff --git a/src/target/arm_dpm.c b/src/target/arm_dpm.c index 434c63e1..ca3930fc 100644 --- a/src/target/arm_dpm.c +++ b/src/target/arm_dpm.c @@ -23,7 +23,7 @@ #include "armv4_5.h" /* REVISIT to become arm.h */ #include "arm_dpm.h" -#include "jtag.h" +#include #include "register.h" #include "breakpoints.h" #include "target_type.h" diff --git a/src/target/arm_jtag.h b/src/target/arm_jtag.h index d9e7f2aa..6f03fc6e 100644 --- a/src/target/arm_jtag.h +++ b/src/target/arm_jtag.h @@ -23,7 +23,7 @@ #ifndef ARM_JTAG #define ARM_JTAG -#include "jtag.h" +#include struct arm_jtag { diff --git a/src/target/avrt.h b/src/target/avrt.h index 145f836f..221296a9 100644 --- a/src/target/avrt.h +++ b/src/target/avrt.h @@ -20,7 +20,7 @@ #ifndef AVRT_H #define AVRT_H -#include "jtag.h" +#include struct mcu_jtag { diff --git a/src/target/mips_ejtag.h b/src/target/mips_ejtag.h index 6a653d4f..93b4a6ae 100644 --- a/src/target/mips_ejtag.h +++ b/src/target/mips_ejtag.h @@ -23,7 +23,7 @@ #ifndef MIPS_EJTAG #define MIPS_EJTAG -#include "jtag.h" +#include /* tap instructions */ #define EJTAG_INST_IDCODE 0x01 diff --git a/src/target/target.c b/src/target/target.c index e4260195..597046fa 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -41,7 +41,7 @@ #include "register.h" #include "trace.h" #include "image.h" -#include "jtag.h" +#include static int target_array2mem(Jim_Interp *interp, struct target *target, int argc, Jim_Obj *const *argv); -- cgit v1.2.3-18-g5258