From a4089f524fbcf176f3d4aae43a35e3c6effcc854 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 27 Jul 2020 09:53:32 -0600 Subject: [PATCH] Remove unused declaration from gcore.h gcore.h declares load_corefile, but there are no other mentions of this in the source. This patch removes it. Tested by grep and rebuilding. gdb/ChangeLog 2020-07-27 Tom Tromey * gcore.h (load_corefile): Don't declare. --- gdb/ChangeLog | 4 ++++ gdb/gcore.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1d00d15e176..bc6e6e5af21 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-07-27 Tom Tromey + + * gcore.h (load_corefile): Don't declare. + 2020-07-27 Tom de Vries * configure.ac: Fix sys/sockets.h -> sys/socket.h typo. diff --git a/gdb/gcore.h b/gdb/gcore.h index 9b85e46b601..64bfe128ef8 100644 --- a/gdb/gcore.h +++ b/gdb/gcore.h @@ -24,7 +24,6 @@ extern gdb_bfd_ref_ptr create_gcore_bfd (const char *filename); extern void write_gcore_file (bfd *obfd); -extern bfd *load_corefile (char *filename, int from_tty); extern int objfile_find_memory_regions (struct target_ops *self, find_memory_region_ftype func, void *obfd); -- 2.30.2