aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-04-27 11:28:18 -0600
committerTom Tromey <tom@tromey.com>2024-04-27 11:30:56 -0600
commit389cddc4b68a82734202f1dfe3f6339e4d8dab11 (patch)
treeb3c01d1ff8ec8b79f1e8c59ab2a5f63594543156
parente705ee1621d35af5d05bf40b8653fe9d4be2be09 (diff)
downloadgdb-389cddc4b68a82734202f1dfe3f6339e4d8dab11.zip
gdb-389cddc4b68a82734202f1dfe3f6339e4d8dab11.tar.gz
gdb-389cddc4b68a82734202f1dfe3f6339e4d8dab11.tar.bz2
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.
-rw-r--r--gdb/tui/tui-source.h2
-rw-r--r--gdb/tui/tui.h2
2 files changed, 0 insertions, 4 deletions
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
{