* hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
authorPedro Alves <palves@redhat.com>
Sun, 7 Jun 2009 22:52:44 +0000 (22:52 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 7 Jun 2009 22:52:44 +0000 (22:52 +0000)
gdb/ChangeLog
gdb/hppa-tdep.c

index 74f0071..a9d9088 100644 (file)
@@ -1,5 +1,9 @@
 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
 
+       * hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
+
+2009-06-07  Pedro Alves  <pedro@codesourcery.com>
+
        * procfs.h: New.
        * proc-utils.h (procfs_first_available): Don't declare here.
        * sol-thread.c: Include procfs.h instead of sys/procfs.h and
index fe29a86..59dec66 100644 (file)
@@ -3145,6 +3145,9 @@ hppa_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
   fprintf_unfiltered (file, "elf = %s\n", tdep->is_elf ? "yes" : "no");
 }
 
+/* Provide a prototype to silence -Wmissing-prototypes.  */
+extern initialize_file_ftype _initialize_hppa_tdep;
+
 void
 _initialize_hppa_tdep (void)
 {