From patchwork Wed Dec 12 20:32:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Waroquiers X-Patchwork-Id: 30652 Received: (qmail 75773 invoked by alias); 12 Dec 2018 20:33:10 -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 75621 invoked by uid 89); 12 Dec 2018 20:33:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*be, HContent-Transfer-Encoding:8bit X-HELO: mailsec117.isp.belgacom.be Received: from mailsec117.isp.belgacom.be (HELO mailsec117.isp.belgacom.be) (195.238.20.113) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Dec 2018 20:33:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1544646787; x=1576182787; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PKK7Swg4R6oiJYvZbVpyVisycLgFde3PVW/KI8TUWHg=; b=YOOW/B34zFg41tsTNgL1Kc9x4zEmxnfW1678hq5oxfOiuqK0psbwYr1i n22mkV6I7rW6pTwXCwDvIQDA0edOew==; Received: from 184.205-67-87.adsl-dyn.isp.belgacom.be (HELO md.home) ([87.67.205.184]) by relay.skynet.be with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 12 Dec 2018 21:33:05 +0100 From: Philippe Waroquiers To: gdb-patches@sourceware.org Cc: Philippe Waroquiers Subject: [PUSHED] OBVIOUS: Forward declare linux_xfer_osdata_info_os_types on one line to fix ARI warning. Date: Wed, 12 Dec 2018 21:32:57 +0100 Message-Id: <20181212203257.16973-1-philippe.waroquiers@skynet.be> MIME-Version: 1.0 X-IsSubscribed: yes 2018-12-12 Philippe Waroquiers * nat/linux-osdata.c (linux_xfer_osdata_info_os_types): Forward declare on one line to fix ARI warning. --- gdb/ChangeLog | 5 +++++ gdb/nat/linux-osdata.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dc705dc968..f17ce42ddb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-12-12 Philippe Waroquiers + + * nat/linux-osdata.c (linux_xfer_osdata_info_os_types): Forward + declare on one line to fix ARI warning. + 2018-12-12 Andrew Burgess * infrun.c (infcall_suspend_state::infcall_suspend_state): New. diff --git a/gdb/nat/linux-osdata.c b/gdb/nat/linux-osdata.c index baca7fe94c..e690884dd8 100644 --- a/gdb/nat/linux-osdata.c +++ b/gdb/nat/linux-osdata.c @@ -1274,8 +1274,7 @@ linux_xfer_osdata_modules (struct buffer *buffer) buffer_grow_str0 (buffer, "\n"); } -static void -linux_xfer_osdata_info_os_types (struct buffer *buffer); +static void linux_xfer_osdata_info_os_types (struct buffer *buffer); struct osdata_type { const char *type;