From 389cddc4b68a82734202f1dfe3f6339e4d8dab11 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 27 Apr 2024 11:28:18 -0600 Subject: 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. --- gdb/tui/tui-source.h | 2 -- gdb/tui/tui.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'gdb') diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h index 6d4ad4e..103b11e 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 0029510..388fd1e 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 { -- cgit v1.1