From 72753510eaa191231455701ebfa00c41f0cdfb36 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sun, 7 Jun 2009 22:52:44 +0000 Subject: [PATCH] * hppa-tdep.c (_initialize_hppa_tdep): Add declaration. --- gdb/ChangeLog | 4 ++++ gdb/hppa-tdep.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 74f0071d1ce..a9d908809d2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-06-07 Pedro Alves + + * hppa-tdep.c (_initialize_hppa_tdep): Add declaration. + 2009-06-07 Pedro Alves * procfs.h: New. 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) { -- 2.30.2