aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-sol2-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-sol2-tdep.c')
-rw-r--r--gdb/i386-sol2-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i386-sol2-tdep.c b/gdb/i386-sol2-tdep.c
index ff79784..1980485 100644
--- a/gdb/i386-sol2-tdep.c
+++ b/gdb/i386-sol2-tdep.c
@@ -151,8 +151,9 @@ i386_sol2_osabi_sniffer (bfd *abfd)
return GDB_OSABI_UNKNOWN;
}
+void _initialize_i386_sol2_tdep ();
void
-_initialize_i386_sol2_tdep (void)
+_initialize_i386_sol2_tdep ()
{
/* Register an ELF OS ABI sniffer for Solaris 2 binaries. */
gdbarch_register_osabi_sniffer (bfd_arch_i386, bfd_target_elf_flavour,