From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Gd5QHU3DvmrsWCUAWB0awg (envelope-from ) for ; Thu, 01 Oct 2026 16:32:13 -0400 Received: by simark.ca (Postfix, from userid 112) id 750441E047; Thu, 01 Oct 2026 16:32:13 -0400 (EDT) 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 2B1391E047 for ; Thu, 01 Oct 2026 16:32:13 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5DF924BB3BA8 for ; Thu, 1 Oct 2026 20:32:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5DF924BB3BA8 Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 71A2F4BB24EE for ; Thu, 1 Oct 2026 20:31:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 71A2F4BB24EE 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 71A2F4BB24EE Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1790886675; cv=none; b=BPXV/E+GrZVFOuOUySD1LoLgeS6Xu/5g6Jy2nd+MoNMlDMKRIIJkDoBhufWNNwL2ZFoUiDfwgxL7m9gCUxKH5mYR/wXwNSrpQE68nzVq+gdo4Fnl2MmyDYgm5jx+K6XSE6qK2CjV8f6tkm/Bz4qxJ6QiVzpbxne/VSDUD850oL0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1790886675; c=relaxed/simple; bh=ZwY9F9iDZ8YnYKE8xs7NgY8WvLIhdu2erRDG7oXKcTA=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=ijcXVhQp/0LNkhTEZDPYVwm/nUvC/TDiRtYfXPK+XH7kGElIZRpRZzQwrjEN3pChi+hu582HxQosS0Km7iPYJcq93vvUJbMsW74JRgH0bS9gZvrdh/DfLO97pE/bdq3mcQuJXWn02z7Fdapr4nAtK1AW5QUTKx6pyUlua2MNTyc= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71A2F4BB24EE Received: by simark.ca (Postfix) id C87521E09E; Thu, 01 Oct 2026 16:31:13 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 6/7] gdb: remove qsort kludge from ada-exp-parser.y Date: Thu, 1 Oct 2026 16:30:04 -0400 Message-ID: <20261001203105.1379971-7-simon.marchi@efficios.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261001203105.1379971-1-simon.marchi@efficios.com> References: <20261001203105.1379971-1-simon.marchi@efficios.com> 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 Remove the "#define qsort __qsort__dummy" kludge, which was there to avoid a conflict between defs.h and non-standard stdlib.h files. This was introduced in 2002, I am pretty sure this is not needed anymore. Change-Id: I22d42f13ad4bdd6fc118ac4e1f30abdb79beb659 --- gdb/ada-exp-parser.y | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdb/ada-exp-parser.y b/gdb/ada-exp-parser.y index b5b925e8911e..d37ab12c3bcf 100644 --- a/gdb/ada-exp-parser.y +++ b/gdb/ada-exp-parser.y @@ -838,7 +838,4 @@ primary : '*' primary %prec '.' /* yylex defined in ada-lex-gen.c: Reads one token, getting characters */ /* through lexptr. */ -/* The following kludge was found necessary to prevent conflicts between */ -/* defs.h and non-standard stdlib.h files. */ -#define qsort __qsort__dummy #include "ada-lex-gen.c" -- 2.55.0