aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-frv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-frv.c')
-rw-r--r--gdb/solib-frv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index c770b3e..f48c709 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -556,7 +556,7 @@ frv_in_dynsym_resolve_code (CORE_ADDR pc)
/* Given a loadmap and an address, return the displacement needed
to relocate the address. */
-CORE_ADDR
+static CORE_ADDR
displacement_from_map (struct int_elf32_fdpic_loadmap *map,
CORE_ADDR addr)
{
@@ -1269,6 +1269,9 @@ frv_fetch_objfile_link_map (struct objfile *objfile)
struct target_so_ops frv_so_ops;
+/* Provide a prototype to silence -Wmissing-prototypes. */
+extern initialize_file_ftype _initialize_frv_solib;
+
void
_initialize_frv_solib (void)
{