From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 248FB3858D1E; Sat, 27 Apr 2024 17:35:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 248FB3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1714239355; bh=vdpein3kuKbo1MUUrfpHQgQha4gBSaUhAiOfvBOGeyU=; h=From:To:Subject:Date:From; b=HRB4R247iqnPQEbT8XRGrROvnc60OIvwAGjsMT+Z8NkQ1EYx7PrZsBj3RQhDfgsYa Qk2AJJqocpUwUhinIw6qr58W0d2/LRjWtNmToubu6Zlq51MTlE6CJD63L5iP6UMDSi eJaJVz+x3MvU6bQ/3FuBEitH8/QcdD7q/lucJZmM= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove two unneeded forward declarations X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: e705ee1621d35af5d05bf40b8653fe9d4be2be09 X-Git-Newrev: 389cddc4b68a82734202f1dfe3f6339e4d8dab11 Message-Id: <20240427173555.248FB3858D1E@sourceware.org> Date: Sat, 27 Apr 2024 17:35:55 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D389cddc4b68a= 82734202f1dfe3f6339e4d8dab11 commit 389cddc4b68a82734202f1dfe3f6339e4d8dab11 Author: Tom Tromey Date: Sat Apr 27 11:28:18 2024 -0600 Remove two unneeded forward declarations =20 I noticed a couple of forward declarations in the TUI that aren't needed -- the declarations aren't used in the header files in which they appear. This patch removes these. Diff: --- gdb/tui/tui-source.h | 2 -- gdb/tui/tui.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h index 6d4ad4e39c2..103b11e7273 100644 --- a/gdb/tui/tui-source.h +++ b/gdb/tui/tui-source.h @@ -25,8 +25,6 @@ #include "tui/tui-data.h" #include "tui-winsource.h" =20 -struct symtab; - /* A TUI source window. */ =20 struct tui_source_window : public tui_source_window_base diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h index 00295107eac..388fd1e6eb2 100644 --- a/gdb/tui/tui.h +++ b/gdb/tui/tui.h @@ -39,8 +39,6 @@ extern bool debug_tui; #define TUI_SCOPED_DEBUG_START_END(fmt, ...) \ scoped_debug_start_end (debug_tui, "tui", fmt, ##__VA_ARGS__) =20 -struct ui_file; - /* Types of error returns. */ enum tui_status {