X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m3.h;h=7ce89014bbbc8eec7ca5705ed769892203f543a5;hp=f5dde5b1d61e440c584b0d3317f60547b3028189;hb=d6c8945662e6027f6ba12d73bac2473088672db5;hpb=2ec440588fa455e4609bae3d7fc146bf53f1bbab diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index f5dde5b1d6..7ce89014bb 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -26,8 +26,6 @@ #ifndef CORTEX_M3_H #define CORTEX_M3_H -#include "register.h" -#include "target.h" #include "armv7m.h" @@ -164,7 +162,7 @@ struct cortex_m3_common }; static inline struct cortex_m3_common * -target_to_cm3(struct target_s *target) +target_to_cm3(struct target *target) { return container_of(target->arch_info, struct cortex_m3_common, armv7m);