]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove two unneeded forward declarations
authorTom Tromey <tom@tromey.com>
Sat, 27 Apr 2024 17:28:18 +0000 (11:28 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 27 Apr 2024 17:30:56 +0000 (11:30 -0600)
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
gdb/tui/tui.h

index 6d4ad4e39c27120854ce9e048946df7a4c6b1ebd..103b11e7273765a24c24a4372aa4140a47df25a9 100644 (file)
@@ -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
index 00295107eac48f58e2670b85a689d7b86603407a..388fd1e6eb21233f860c62a9eff923921a075047 100644 (file)
@@ -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
 {