X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm_simulator.h;h=616627a42140f5c541fc407f912295b261adb9e9;hb=2280ddeea5fd82554696f1caa97f7a485a035da4;hp=bad904bac64b55249d0e1913bcb4dbca9e38a0e2;hpb=32a2c70d3e05bf037b655ff80edcdc2637133650;p=openocd.git diff --git a/src/target/arm_simulator.h b/src/target/arm_simulator.h index bad904bac6..616627a421 100644 --- a/src/target/arm_simulator.h +++ b/src/target/arm_simulator.h @@ -22,7 +22,7 @@ #include "types.h" -struct target_s; +struct target; struct arm_sim_interface { @@ -37,12 +37,11 @@ struct arm_sim_interface enum armv4_5_mode (*get_mode)(struct arm_sim_interface *sim); }; - /* armv4_5 version */ -extern int arm_simulate_step(struct target_s *target, uint32_t *dry_run_pc); +int arm_simulate_step(struct target *target, uint32_t *dry_run_pc); /* a generic arm simulator. Caller must implement the sim interface */ -extern int arm_simulate_step_core(target_t *target, uint32_t *dry_run_pc, struct arm_sim_interface *sim); - +int arm_simulate_step_core(struct target *target, + uint32_t *dry_run_pc, struct arm_sim_interface *sim); #endif /* ARM_SIMULATOR_H */