* 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 74f0071d1ce448e03330725fc4b193fce17a24d7..a9d908809d2f76504e7c1afc0219d280bcffd5c8 100644 (file)
@@ -1,3 +1,7 @@
+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.
index fe29a86a2e4af7ea95c868e2bf2b1f9e9f1f277f..59dec66aa15f782694cb93972b3b1d71de3a7f33 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)
 {