From: Tom Tromey Date: Sat, 27 Mar 2021 22:48:36 +0000 (-0600) Subject: Don't declare elf_sym_fns_lazy_psyms X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e23d91aa77171f8a6a20152876a5bcb5e51587d;p=binutils-gdb.git Don't declare elf_sym_fns_lazy_psyms 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 * elfread.c (elf_sym_fns_lazy_psyms): Don't declare. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bdd01c9c4bd..9e8f2f41cc8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2021-03-27 Tom Tromey + + * elfread.c (elf_sym_fns_lazy_psyms): Don't declare. + 2021-03-27 Tom Tromey * elfread.c (elf_symfile_read): Don't clear 'qf'. 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. */