From patchwork Mon Sep 26 09:15:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 1682489 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=TOtaAsmQ; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mbcdg11L7z1ypH for ; Mon, 26 Sep 2022 19:19:19 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1ACC8386074F for ; Mon, 26 Sep 2022 09:19:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1ACC8386074F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664183957; bh=U8eyUQHRioV+ss6j2bkNS0Z/82x7IlbSSfIndBE6Zmc=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=TOtaAsmQWgXcQuVPzDhQfygIHaEAzpRBTkfpzid9Of4rddLIlJezmUSMum+ybF3kr yzozHJSw1Qe8quHwQPbWUEMfHoXeRejo9+UWtnQny26jsFjXR8EumFleQ6Lzz/GXCH K7B52seL37BLwawhaYscCT9EHDgAqBDefOWQ1RaI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 85D8438582B1 for ; Mon, 26 Sep 2022 09:15:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 85D8438582B1 Received: by mail-wr1-x436.google.com with SMTP id z6so9216063wrq.1 for ; Mon, 26 Sep 2022 02:15:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=U8eyUQHRioV+ss6j2bkNS0Z/82x7IlbSSfIndBE6Zmc=; b=mW+eFtdS7YMfQsJgvBUS/Wya9ja8YxrTivaajR6u2CVzATeQzB7ieVQpl4LT6t7TOT QPeFruLGpIlI+mLJnzU28D9nnBB+sMbtxbY06P2APQTPXYfILUWOQidIxQKVtIpcDwES BRGpkYQOusf7SL8qWn7YkGjP4h39UeEsPgC4cQkjQhhk/TVgRtslWzn9/ouTLg7Z+hPS ZQyI/Ipe4CeVQS/I9YkBj/OU7tpeaNvRckg8XXmmiWyV6A9M00iHAuQl8SYvJpal93+a jNeosz9Yge7gozv8dPyWQy/UCCinQpMgP0fqCfXADfZTOePPaqU0xQNj8TaW+GydGu/E 1lgA== X-Gm-Message-State: ACrzQf0bd0gZt+97LxE34IRUetakK1IOucPXIUHjZ/EC2Ua6D4Hr172N Fd9GFq+HOs5+vBJUIakgX5MF4S92JCc2zg== X-Google-Smtp-Source: AMsMyM4dxK4p+7JuLHkuqIULcZKoNAk51ui2qjCVjP4e4Oc74eMIKLUi4cQIi3FoB2+3WSeMY51AFg== X-Received: by 2002:a05:6000:1acd:b0:22a:a047:2533 with SMTP id i13-20020a0560001acd00b0022aa0472533mr12637596wry.69.1664183735385; Mon, 26 Sep 2022 02:15:35 -0700 (PDT) Received: from localhost.localdomain (static-176-191-105-132.ftth.abo.bbox.fr. [176.191.105.132]) by smtp.gmail.com with ESMTPSA id m21-20020a05600c3b1500b003b3307fb98fsm10900645wms.24.2022.09.26.02.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 02:15:35 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [COMMITED] ada: Remove unreferenced C macro from OS constants template Date: Mon, 26 Sep 2022 11:15:31 +0200 Message-Id: <20220926091531.273721-1-poulhies@adacore.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= Cc: Piotr Trojanek Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" From: Piotr Trojanek The STR/STR1 macros in OS constants template has been unreferenced since 2005, so we can safely remove them. gcc/ada/ * s-oscons-tmplt.c (STR, STR1): Remove. --- gcc/ada/s-oscons-tmplt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index af6919092d5..53941226771 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -237,9 +237,6 @@ int counter = 0; #define CST(name,comment) C(#name,String,name,comment) /* String constant */ -#define STR(x) STR1(x) -#define STR1(x) #x - #ifdef __MINGW32__ unsigned int _CRT_fmode = _O_BINARY; #endif