public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Don't declare elf_sym_fns_lazy_psyms
@ 2021-03-27 22:49 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2021-03-27 22:49 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-27 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-27 22:49 [pushed] Don't declare elf_sym_fns_lazy_psyms Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).