diff options
Diffstat (limited to 'sim/common/sim-engine.c')
-rw-r--r-- | sim/common/sim-engine.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/common/sim-engine.c b/sim/common/sim-engine.c index 83f41f0..2a0fb72 100644 --- a/sim/common/sim-engine.c +++ b/sim/common/sim-engine.c @@ -208,9 +208,11 @@ sim_engine_init (SIM_DESC sd) return SIM_RC_OK; } +/* Provide a prototype to silence -Wmissing-prototypes. */ +SIM_RC sim_install_engine (SIM_DESC sd); SIM_RC -sim_engine_install (SIM_DESC sd) +sim_install_engine (SIM_DESC sd) { SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER); sim_module_add_init_fn (sd, sim_engine_init); |