From: Simon Marchi Date: Fri, 9 Jan 2026 19:14:35 +0000 (-0500) Subject: gdb/coffread: remove unnecessary forward declarations X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e99d04066fe6ebcf0f2005afbc9ff884c1ad3e12;p=thirdparty%2Fbinutils-gdb.git gdb/coffread: remove unnecessary forward declarations Change-Id: Id68fe282654a6fce316d4c58b3007a00a3a94597 Approved-By: Tom Tromey --- diff --git a/gdb/coffread.c b/gdb/coffread.c index c7b55f37fdb..c48431efe42 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -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) {