From: Tom Tromey Date: Sat, 27 Apr 2024 17:28:18 +0000 (-0600) Subject: Remove two unneeded forward declarations X-Git-Tag: gdb-15-branchpoint~225 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=389cddc4b68a82734202f1dfe3f6339e4d8dab11;p=thirdparty%2Fbinutils-gdb.git Remove two unneeded forward declarations 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 --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" -struct symtab; - /* A TUI source window. */ 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__) -struct ui_file; - /* Types of error returns. */ enum tui_status {