aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_simulator.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-09 04:22:23 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-09 09:44:33 -0800
commit3885ab5a5af7ece410ce3eeb1059da3ea950436a (patch)
tree97f0ec5c6570c5d87ba42819bde60be9fee6f0b5 /src/target/arm_simulator.h
parent42cafc9369088d2a5d5f633358a2a42aa7bbc0de (diff)
downloadriscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.zip
riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.gz
riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.bz2
src/target: remove 'extern' and wrap headers
Remove extern keywords from function prototypes and wrap long lines.
Diffstat (limited to 'src/target/arm_simulator.h')
-rw-r--r--src/target/arm_simulator.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/target/arm_simulator.h b/src/target/arm_simulator.h
index bad904b..9e7b040 100644
--- a/src/target/arm_simulator.h
+++ b/src/target/arm_simulator.h
@@ -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_s *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(target_t *target,
+ uint32_t *dry_run_pc, struct arm_sim_interface *sim);
#endif /* ARM_SIMULATOR_H */