diff options
Diffstat (limited to 'sim/common/sim-trace.c')
-rw-r--r-- | sim/common/sim-trace.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/sim-trace.c b/sim/common/sim-trace.c index 2c37989..9ebb86d 100644 --- a/sim/common/sim-trace.c +++ b/sim/common/sim-trace.c @@ -436,10 +436,12 @@ trace_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt, return SIM_RC_OK; } -/* Install tracing support. */ +/* Provide a prototype to silence -Wmissing-prototypes. */ +SIM_RC sim_install_trace (SIM_DESC sd); +/* Install tracing support. */ SIM_RC -trace_install (SIM_DESC sd) +sim_install_trace (SIM_DESC sd) { int i; |