From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 6B74B3858D20 for ; Sun, 12 Nov 2023 23:41:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B74B3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6B74B3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699832495; cv=none; b=NwBbtRIg2Kft5twhR/IWyX0xrbjX/fcphSghdCaKWm0n9GlCOQnx7Jwcf6icXYoE6TEwpaYlVh+tPXunU133oZP5lgH24Djvdy2AD01HMLZHSF9fv5OxvsnQH6u4uaDWZDoWy97tsR3m+iD3oU7hQpJPzRfk7m//MToFdCL25HY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699832495; c=relaxed/simple; bh=UY1dz9YN+NHnnrV2naWKD16WvfDB0CaaqJu8qklRt8k=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=BD5gqiOVbdqAY/dCAalZ2hGFCN7HgkA6PEbKzoWsqXOhdruvY5Q+xoHUcI4+qEEMr/0T5wbH4O/la9eN9gOJ6S1kLpTLspAx5Cxhs4sayoDy3nmQQdccffIE6+WzcFjp1Yv1dF+dwE/i2Ip6K/lY4h7ewbYcm4j06gz81NFyT30= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6005a.ext.cloudfilter.net ([10.0.30.201]) by cmsmtp with ESMTPS id 2Iy1rTzbqKOkL2K57rJNV7; Sun, 12 Nov 2023 23:41:33 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 2K56rL0Py8KNv2K56rDJtU; Sun, 12 Nov 2023 23:41:33 +0000 X-Authority-Analysis: v=2.4 cv=dp3Itns4 c=1 sm=1 tr=0 ts=655162ad a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=BNY50KLci1gA:10 a=Qbun_eYptAEA:10 a=Eh9cKbG5dvHoc-nd878A:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=g/R9/mWBXg7aSx5aWnH5vNWSov+NODOPAcKJLzufA4k=; b=j7WE88hOJ1mFbs6yF3ijHrDNnX eJGY93qkQlqFSlybAUaUN/iMHL4NFjaFAEBzHJ1alIlEgYrU4qN/Oyh3ZnLMi84NbzJTDq8a7P9Uu qGpBJTJDP+pR45Uql7l6aHrxP; Received: from 97-122-77-73.hlrn.qwest.net ([97.122.77.73]:42988 helo=localhost.localdomain) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r2K56-002iZU-1G; Sun, 12 Nov 2023 16:41:32 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH] Remove declaration of re_comp Date: Sun, 12 Nov 2023 16:41:42 -0700 Message-ID: <20231112234142.4193851-1-tom@tromey.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.77.73 X-Source-L: No X-Exim-ID: 1r2K56-002iZU-1G X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-77-73.hlrn.qwest.net (localhost.localdomain) [97.122.77.73]:42988 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfLrBpSiUtkf3rX1Hu2dm2xOTevcv+JSTVjLvhebKi0Ka8uEuDIIpoVyXNRX/eNqPFcOVdB6NIuPaO7nE/Tzw3hDxW3zt/DGP8Ih170PjcSgoQOdhh79S QKOLWzU3Phmsuuih1POYn6igLSmm/wAaWHxXJPC3xO8CXw6Vp93Q3I3YEuVEhbEoHFn6+Zdo1flCoqTbM9jIbgH2ssvUOR0M2j4= X-Spam-Status: No, score=-3024.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,GIT_PATCH_0,JMQ_SPF_NEUTRAL,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: defs.h declares re_comp, but it shouldn't. If this is needed, it should be picked up from xregex.h via gdb_regex.h. Tested by rebuilding. --- gdb/defs.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gdb/defs.h b/gdb/defs.h index b8612e1ac6d..e6dd93e791e 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -299,12 +299,6 @@ extern std::string relocate_gdb_directory (const char *initial, bool relocatable extern int annotation_level; /* in stack.c */ -/* From regex.c or libc. BSD 4.4 declares this with the argument type as - "const char *" in unistd.h, so we can't declare the argument - as "char *". */ - -extern "C" char *re_comp (const char *); - /* From symfile.c */ extern void symbol_file_command (const char *, int); -- 2.41.0