[binutils-gdb] gdb/coffread: remove unnecessary forward declarations
Simon Marchi
simark@sourceware.org
Fri Jan 9 19:36:13 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e99d04066fe6ebcf0f2005afbc9ff884c1ad3e12
commit e99d04066fe6ebcf0f2005afbc9ff884c1ad3e12
Author: Simon Marchi <simon.marchi@efficios.com>
Date: Fri Jan 9 14:14:35 2026 -0500
gdb/coffread: remove unnecessary forward declarations
Change-Id: Id68fe282654a6fce316d4c58b3007a00a3a94597
Approved-By: Tom Tromey <tom@tromey.com>
Diff:
---
gdb/coffread.c | 7 -------
1 file changed, 7 deletions(-)
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)
{
More information about the Gdb-cvs
mailing list