aboutsummaryrefslogtreecommitdiff
path: root/sim/msp430/sim-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/msp430/sim-main.h')
-rw-r--r--sim/msp430/sim-main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/msp430/sim-main.h b/sim/msp430/sim-main.h
index 19c8cca..aa51c15 100644
--- a/sim/msp430/sim-main.h
+++ b/sim/msp430/sim-main.h
@@ -54,4 +54,7 @@ struct sim_state
#include "sim-engine.h"
#include "sim-options.h"
+extern void msp430_sim_close (SIM_DESC sd, int quitting);
+#define SIM_CLOSE_HOOK(...) msp430_sim_close (__VA_ARGS__)
+
#endif /* _MSP430_MAIN_SIM_H_ */