[pushed] Don't declare elf_sym_fns_lazy_psyms

Message ID 20210327224921.559735-1-tom@tromey.com
State New
Headers show
Series
  • [pushed] Don't declare elf_sym_fns_lazy_psyms
Related show

Commit Message

Tom Tromey March 27, 2021, 10:49 p.m.
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(-)

-- 
2.26.2

Patch

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.  */