Don't declare elf_sym_fns_lazy_psyms
authorTom Tromey <tom@tromey.com>
Sat, 27 Mar 2021 22:48:36 +0000 (16:48 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 27 Mar 2021 22:48:36 +0000 (16:48 -0600)
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
gdb/elfread.c

index bdd01c9c4bd3f20eee17d30e1a8fd8a8df2c0902..9e8f2f41cc8e6cfeca59c23fa444131f2741b6cb 100644 (file)
@@ -1,3 +1,7 @@
+2021-03-27  Tom Tromey  <tom@tromey.com>
+
+       * elfread.c (elf_sym_fns_lazy_psyms): Don't declare.
+
 2021-03-27  Tom Tromey  <tom@tromey.com>
 
        * elfread.c (elf_symfile_read): Don't clear 'qf'.
index 1f4858521a968e6023a7877145072a5a32980b38..f5de913a5cceebba6de21a252b95160eca78a1e8 100644 (file)
@@ -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.  */