aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-06-07 22:52:44 +0000
committerPedro Alves <palves@redhat.com>2009-06-07 22:52:44 +0000
commit72753510eaa191231455701ebfa00c41f0cdfb36 (patch)
tree71102fca396c6a137c72381f7416ece980c2ace6 /gdb/hppa-tdep.c
parentd1a7880c7763c73413efe8dd1293d7874b7e0ddd (diff)
downloadfsf-binutils-gdb-72753510eaa191231455701ebfa00c41f0cdfb36.zip
fsf-binutils-gdb-72753510eaa191231455701ebfa00c41f0cdfb36.tar.gz
fsf-binutils-gdb-72753510eaa191231455701ebfa00c41f0cdfb36.tar.bz2
* 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 fe29a86..59dec66 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)
{