diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-13 22:42:49 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-30 12:34:01 -0400 |
commit | 0ecdca38bc62f60f961ab4d14c711b4c9ffd00e7 (patch) | |
tree | b257de57c7ced5888c3cd5527907038cca1a6ccc /sim/common/sim-trace.c | |
parent | 05d54a045c77ae24cf46327d3680a7c38b469351 (diff) | |
download | binutils-0ecdca38bc62f60f961ab4d14c711b4c9ffd00e7.zip binutils-0ecdca38bc62f60f961ab4d14c711b4c9ffd00e7.tar.gz binutils-0ecdca38bc62f60f961ab4d14c711b4c9ffd00e7.tar.bz2 |
sim: move trace init to dynamic modules.c
Use the new modules.c framework to find & initialize this module.
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; |