X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m3.h;h=ed08323758d8ab279bd0de191f4cccc6ea94f16d;hp=f5dde5b1d61e440c584b0d3317f60547b3028189;hb=0f1163e823c6ca3c2a81fa296157f5dde0635fea;hpb=d0dee7ccafcf87259fadf6c5de43df8583b0e885;ds=sidebyside diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index f5dde5b1d6..ed08323758 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -164,7 +164,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);