From patchwork Mon Apr 22 20:10:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 88882 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7AA943849AC1 for ; Mon, 22 Apr 2024 20:15:18 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id C08C03849AC4 for ; Mon, 22 Apr 2024 20:12:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C08C03849AC4 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 C08C03849AC4 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=1713816727; cv=none; b=d8R3Gkj0g6MWNzBlL6vTPtTqFYTCbas62DcWivll1NvHqn8gZkPvqAY7uwFVuA2QYngWEivF2H8rsYka5WIlcu1S1OK1h5ide0sS5MXlE5hdi0vZ29WzR3JXxPr99pfoI1LW2zKw9Fbmz3ebQ110As3+ytjOiX7Lx9BfYn/btFo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713816727; c=relaxed/simple; bh=/MmboDoBzuBtqRfFayHRZv+hBX6VXTSiNs/p3DUyp+w=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=OV93OBJCrRTQVdKTBBLNBVrcVX4WIiSiUWUYKZchG5ISSENrijxaYDVOP295gfvw7G0EWls+LFdRyaNw+BmngUNVUuxbdIZ8S6PrBHcTqZqUmuCYupEg0wg7HqwP0iOzfryPKZ2c9gxPwiZaQvcyKI4VmkIBm2iTzEnNQJjpPgk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smarchi-efficios.internal.efficios.com (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) (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 ESMTPSA id 1BE2E1E0FB; Mon, 22 Apr 2024 16:12:00 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 7/7] gdb: don't include gdbsupport/array-view.h in defs.h Date: Mon, 22 Apr 2024 16:10:17 -0400 Message-ID: <20240422201157.46375-8-simon.marchi@efficios.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240422201157.46375-1-simon.marchi@efficios.com> References: <20240422201157.46375-1-simon.marchi@efficios.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3496.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_SOFTFAIL, 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: 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+patchwork=sourceware.org@sourceware.org Nothing in defs.h actually uses this. Everything that I (and the buildbot) can compile still compiles, so I guess that all users of array_view already include it one way or another. Worst case, if this causes some build failure, the fix will be one #include away. Change-Id: I981be98b0653cc18c929d85e9afd8732332efd15 --- gdb/defs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb/defs.h b/gdb/defs.h index 8ef36c16df97..91724d30195f 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -61,7 +61,6 @@ #include "gdbsupport/host-defs.h" #include "gdbsupport/enum-flags.h" -#include "gdbsupport/array-view.h" /* Just in case they're not defined in stdio.h. */