From patchwork Tue Jan 22 08:04:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 31157 Received: (qmail 111042 invoked by alias); 22 Jan 2019 08:14:04 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 111033 invoked by uid 89); 22 Jan 2019 08:14:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway21.websitewelcome.com Received: from gateway21.websitewelcome.com (HELO gateway21.websitewelcome.com) (192.185.45.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Jan 2019 08:14:02 +0000 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway21.websitewelcome.com (Postfix) with ESMTP id E2C5E404D20A1 for ; Tue, 22 Jan 2019 02:04:49 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id lr3BgZ8VLYTGMlr3BgHuzK; Tue, 22 Jan 2019 02:04:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MaB9DN1IaPpn969r6Vi94zfrHS3V3HEOtPZ//A/UJvU=; b=cfym5x9Pz3nyLCSX2aRcTN+Oxo jVmeXKn7JxTwR8nZOpQY3QYliTq+iuzjtvJDWverLm/M/+DDooS2QBCa8GO9WxFMubHyvB5s6dmA/ H4EZEHBfB7GUJrY3B01OdGCrU; Received: from 75-166-72-210.hlrn.qwest.net ([75.166.72.210]:60356 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1glr3B-0037XS-KQ; Tue, 22 Jan 2019 02:04:49 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 5/9] Declare remote_target in remote-fileio.h Date: Tue, 22 Jan 2019 01:04:41 -0700 Message-Id: <20190122080445.32658-6-tom@tromey.com> In-Reply-To: <20190122080445.32658-1-tom@tromey.com> References: <20190122080445.32658-1-tom@tromey.com> remote-fileio.h refers to remote_target, so forward-declare it. 2019-01-21 Tom Tromey * remote-fileio.h (struct remote_target): Declare. --- gdb/ChangeLog | 4 ++++ gdb/remote-fileio.h | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/remote-fileio.h b/gdb/remote-fileio.h index f84e2539ef..4b3b2b2bf9 100644 --- a/gdb/remote-fileio.h +++ b/gdb/remote-fileio.h @@ -25,6 +25,7 @@ #include "fileio.h" struct cmd_list_element; +struct remote_target; /* Unified interface to remote fileio, called in remote.c from remote_wait () and remote_async_wait (). */