From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id j854A7tTYWneajcAWB0awg (envelope-from ) for ; Fri, 09 Jan 2026 14:15:07 -0500 Received: by simark.ca (Postfix, from userid 112) id D27FE1E0BC; Fri, 09 Jan 2026 14:15:06 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6E1591E08D for ; Fri, 09 Jan 2026 14:15:05 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id BCE0B4BA2E22 for ; Fri, 9 Jan 2026 19:15:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCE0B4BA2E22 Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id A2CFC4BA2E04 for ; Fri, 9 Jan 2026 19:14:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A2CFC4BA2E04 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A2CFC4BA2E04 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767986082; cv=none; b=hpIgEk+o1PNRJrs57mLTOAQla3kxkAIJpkKMpRG96McuJoBnqjvulDrWGr+6OVI+3AoAPxNo96RdPc4Oc0qkLL9umIEzg+thd76+d/8JmILqhyhW9SjMcS+huFmQJX+qN/3kcCkwsYpS2kEtlJ1901bx8sMcRF9HVb6ck7HlPy0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767986082; c=relaxed/simple; bh=VJFL7ycIYgwKSLISMuihsXXeF1UpReTl/XjXCh+XQk8=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=r3nGt0PYKvvxJ+YHA8BQwGNGorOLfiAEsLDaGT4Gt9IEr7FOEeCy+ek6DzNCj2s0Smo1+Bxzezc7VnhULfdInBRmFGy44+iH/ONYaUbUznFVdSnp+K5LRMoKczBip8dm2+HsWNNqUSoSMoZyv4OAkZp8orAg1uRPoafjBG2Ilo0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2CFC4BA2E04 Received: by simark.ca (Postfix) id 1EF4B1E08D; Fri, 09 Jan 2026 14:14:42 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 1/3] gdb/coffread: remove unnecessary forward declarations Date: Fri, 9 Jan 2026 14:14:35 -0500 Message-ID: <20260109191441.486109-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Change-Id: Id68fe282654a6fce316d4c58b3007a00a3a94597 --- gdb/coffread.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gdb/coffread.c b/gdb/coffread.c index c7b55f37fdb5..c48431efe429 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) { base-commit: 5a8351167a8b4547d6583a5d713936c1aec39565 -- 2.52.0