From patchwork Thu Jun 20 04:27:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 33229 Received: (qmail 22414 invoked by alias); 20 Jun 2019 04:27:44 -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 22406 invoked by uid 89); 20 Jun 2019 04:27:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.8 required=5.0 tests=AWL, 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.1 spammy= X-HELO: gateway32.websitewelcome.com Received: from gateway32.websitewelcome.com (HELO gateway32.websitewelcome.com) (192.185.145.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Jun 2019 04:27:43 +0000 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 0A939450CF for ; Wed, 19 Jun 2019 23:27:42 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id doflh9tzhdnCedofmhkkwp; Wed, 19 Jun 2019 23:27:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=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: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Uwii7gN5dKMtOQ4ljGAJsYC6sftZH1TGrl7/nuZ0cCo=; b=J+2uph7cg13etRZJC5jHl/3VsK aaf0FtHB+5CUImY5Iy+eanbF4zdW+8dMVMJ0nGpXqKzDmnt+86+JCYe0ySpo3lZTTzGIbBJFcYH84 R2GP0wIFIubfoIAx/ZLJB2Bt+; Received: from 75-166-12-78.hlrn.qwest.net ([75.166.12.78]:47398 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hdofl-001i1b-QE; Wed, 19 Jun 2019 23:27:41 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Don't declare tui_init_content_element Date: Wed, 19 Jun 2019 22:27:39 -0600 Message-Id: <20190620042739.3479-1-tom@tromey.com> I noticed that tui_init_content_element is declared but never defined. This removes the declaration. Tested by rebuilding. (I should have merged this with the previous patch but I had forgotten that I found two of these.) gdb/ChangeLog 2019-06-19 Tom Tromey * tui/tui-data.h (tui_init_content_element): Don't declare. --- gdb/ChangeLog | 4 ++++ gdb/tui/tui-data.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 5673d46cddd..c42647b2303 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -306,8 +306,6 @@ extern void tui_init_generic_part (struct tui_gen_win_info *); extern tui_win_content tui_alloc_content (int, enum tui_win_type); extern int tui_add_content_elements (struct tui_gen_win_info *, int); -extern void tui_init_content_element (struct tui_win_element *, - enum tui_win_type); extern void tui_free_window (struct tui_win_info *); extern void tui_free_win_content (struct tui_gen_win_info *); extern void tui_free_data_content (tui_win_content, int);