Non-stop mode support.
[deliverable/binutils-gdb.git] / gdb / shnbsd-tdep.c
index 0519dce5b4e5f7205bd31109e1f89a96d7d77bfb..a0cddc5b6a9117d3ab4ce5ee84fbf68b60d15e87 100644 (file)
@@ -1,6 +1,7 @@
 /* Target-dependent code for NetBSD/sh.
 
-   Copyright (C) 2002, 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2006, 2007, 2008, 2009
+   Free Software Foundation, Inc.
 
    Contributed by Wasabi Systems, Inc.
 
@@ -147,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)
 {
@@ -197,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.024404 seconds and 4 git commands to generate.