summaryrefslogtreecommitdiff
path: root/gdb/gcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r--gdb/gcore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 754fb2c8822..ec1be44de85 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -511,6 +511,9 @@ gcore_memory_sections (bfd *obfd)
return 1;
}
+/* Provide a prototype to silence -Wmissing-prototypes. */
+extern initialize_file_ftype _initialize_gcore;
+
void
_initialize_gcore (void)
{