[pushed] Don't declare elf_sym_fns_lazy_psyms

Tom Tromey tom@tromey.com
Sat Mar 27 22:49:21 GMT 2021


An earlier patch neglected to delete a forward declaration of
elf_sym_fns_lazy_psyms.  This is no longer defined.  This patch
removes it.

gdb/ChangeLog
2021-03-27  Tom Tromey  <tom@tromey.com>

	* elfread.c (elf_sym_fns_lazy_psyms): Don't declare.
---
 gdb/ChangeLog | 4 ++++
 gdb/elfread.c | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gdb/elfread.c b/gdb/elfread.c
index 1f4858521a9..f5de913a5cc 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -71,8 +71,6 @@ struct lazy_dwarf_reader : public psymbol_functions
   }
 };
 
-extern const struct sym_fns elf_sym_fns_lazy_psyms;
-
 /* The struct elfinfo is available only during ELF symbol table and
    psymtab reading.  It is destroyed at the completion of psymtab-reading.
    It's local to elf_symfile_read.  */
-- 
2.26.2



More information about the Gdb-patches mailing list