Patchwork [4/6] Remove declaration from tui-wingeneral.h

login
register
mail settings
Submitter Tom Tromey
Date Oct. 2, 2019, 11:12 p.m.
Message ID <20191002231202.10940-5-tom@tromey.com>
Download mbox | patch
Permalink /patch/34804/
State New
Headers show

Comments

Tom Tromey - Oct. 2, 2019, 11:12 p.m.
tui-wingeneral.h has an unused forward declaration.  This removes it.

gdb/ChangeLog
2019-10-02  Tom Tromey  <tom@tromey.com>

	* tui/tui-wingeneral.h (struct tui_gen_win_info): Don't declare.
---
 gdb/ChangeLog            | 4 ++++
 gdb/tui/tui-wingeneral.h | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h
index 53d72327b94..1831d7b7cb6 100644
--- a/gdb/tui/tui-wingeneral.h
+++ b/gdb/tui/tui-wingeneral.h
@@ -25,7 +25,6 @@ 
 #include "gdb_curses.h"
 
 struct tui_win_info;
-struct tui_gen_win_info;
 
 /* Makes all windows invisible.  */
 extern void tui_make_all_invisible (void);