From: Tom Tromey Date: Mon, 27 Jul 2020 15:53:32 +0000 (-0600) Subject: Remove unused declaration from gcore.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4089f524fbcf176f3d4aae43a35e3c6effcc854;p=binutils-gdb.git 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. --- 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);