summaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-06-07 22:52:44 +0000
committerPedro Alves <pedro@codesourcery.com>2009-06-07 22:52:44 +0000
commiteae12918c2c6620a96b86f9a6612473dfbb6da33 (patch)
tree3b6337b9863a7b4d9b05e02daa28f95595e131db /gdb/hppa-tdep.c
parent312fb671d5f76672f0a0a4c674064952843b5797 (diff)
downloadgdb-eae12918c2c6620a96b86f9a6612473dfbb6da33.tar.gz
* hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index fe29a86a2e4..59dec66aa15 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -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)
{