public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove two unneeded forward declarations
@ 2024-04-27 17:35 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2024-04-27 17:35 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=389cddc4b68a82734202f1dfe3f6339e4d8dab11
commit 389cddc4b68a82734202f1dfe3f6339e4d8dab11
Author: Tom Tromey <tom@tromey.com>
Date: Sat Apr 27 11:28:18 2024 -0600
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:
---
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"
-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
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-27 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-27 17:35 [binutils-gdb] Remove two unneeded forward declarations Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).