lpc3180_nand_controller: use register_commands()
[fw/openocd] / src / target / arm_simulator.h
index bad904bac64b55249d0e1913bcb4dbca9e38a0e2..616627a42140f5c541fc407f912295b261adb9e9 100644 (file)
@@ -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 */