aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-darwin-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-darwin-tdep.c')
-rw-r--r--gdb/i386-darwin-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i386-darwin-tdep.c b/gdb/i386-darwin-tdep.c
index deeb613..a1c226b 100644
--- a/gdb/i386-darwin-tdep.c
+++ b/gdb/i386-darwin-tdep.c
@@ -286,8 +286,9 @@ i386_mach_o_osabi_sniffer (bfd *abfd)
return GDB_OSABI_UNKNOWN;
}
+void _initialize_i386_darwin_tdep ();
void
-_initialize_i386_darwin_tdep (void)
+_initialize_i386_darwin_tdep ()
{
gdbarch_register_osabi_sniffer (bfd_arch_unknown, bfd_target_mach_o_flavour,
i386_mach_o_osabi_sniffer);