]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/coffread: remove unnecessary forward declarations
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 9 Jan 2026 19:14:35 +0000 (14:14 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 9 Jan 2026 19:35:19 +0000 (14:35 -0500)
Change-Id: Id68fe282654a6fce316d4c58b3007a00a3a94597
Approved-By: Tom Tromey <tom@tromey.com>
gdb/coffread.c

index c7b55f37fdb5bdcd556726d539b74cbad6455e33..c48431efe4292605bfad43b0cfbcbd916a7751ef 100644 (file)
@@ -161,8 +161,6 @@ static long stringtab_length = 0;
 static int symnum;
 static bool within_function;
 
-extern void stabsread_clear_cache (void);
-
 static struct type *coff_read_struct_type (int, int, int,
                                           struct objfile *);
 
@@ -251,9 +249,6 @@ coff_locate_sections (bfd *abfd, asection *sectp, void *csip)
     }
 }
 
-/* Return the section_offsets* that CS points to.  */
-static int cs_to_section (struct coff_symbol *, struct objfile *);
-
 struct coff_find_targ_sec_arg
   {
     int targ_index;
@@ -295,8 +290,6 @@ cs_to_section (struct coff_symbol *cs, struct objfile *objfile)
 
 /* Return the address of the section of a COFF symbol.  */
 
-static CORE_ADDR cs_section_address (struct coff_symbol *, bfd *);
-
 static CORE_ADDR
 cs_section_address (struct coff_symbol *cs, bfd *abfd)
 {