* symfile.c (find_separate_debug_file): Remove double free of
[deliverable/binutils-gdb.git] / gdb / shnbsd-tdep.c
index b1ad3ed59576ca5996756860cd21fe9a02c572cb..a0cddc5b6a9117d3ab4ce5ee84fbf68b60d15e87 100644 (file)
@@ -148,7 +148,7 @@ static struct regset shnbsd_gregset =
 /* Return the appropriate register set for the core section identified
    by SECT_NAME and SECT_SIZE.  */
 
-const struct regset *
+static const struct regset *
 shnbsd_regset_from_core_section (struct gdbarch *gdbarch,
                                 const char *sect_name, size_t sect_size)
 {
@@ -198,6 +198,9 @@ shnbsd_core_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_UNKNOWN;
 }
 
+/* Provide a prototype to silence -Wmissing-prototypes.  */
+extern initialize_file_ftype _initialize_shnbsd_tdep;
+
 void
 _initialize_shnbsd_tdep (void)
 {
This page took 0.023795 seconds and 4 git commands to generate.