Patchwork [04/19] Remove tui_make_all_visible

login
register
mail settings
Submitter Tom Tromey
Date Aug. 3, 2019, 1:29 p.m.
Message ID <20190803132925.25074-5-tom@tromey.com>
Download mbox | patch
Permalink /patch/33931/
State New
Headers show

Comments

Tom Tromey - Aug. 3, 2019, 1:29 p.m.
The function tui_make_all_visible is not used, so remove it.

gdb/ChangeLog
2019-08-03  Tom Tromey  <tom@tromey.com>

	* tui/tui-wingeneral.h (tui_make_all_visible): Don't declare.
	* tui/tui-wingeneral.c (tui_make_all_visible): Remove.
---
 gdb/ChangeLog            | 5 +++++
 gdb/tui/tui-wingeneral.c | 6 ------
 gdb/tui/tui-wingeneral.h | 1 -
 3 files changed, 5 insertions(+), 7 deletions(-)

Patch

diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c
index dc556317297..92a678cc1e2 100644
--- a/gdb/tui/tui-wingeneral.c
+++ b/gdb/tui/tui-wingeneral.c
@@ -174,12 +174,6 @@  make_all_visible (bool visible)
     win_info->make_visible (visible);
 }
 
-void
-tui_make_all_visible (void)
-{
-  make_all_visible (true);
-}
-
 void
 tui_make_all_invisible (void)
 {
diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h
index d0a8ef99417..3c035aa48b1 100644
--- a/gdb/tui/tui-wingeneral.h
+++ b/gdb/tui/tui-wingeneral.h
@@ -28,7 +28,6 @@  struct tui_win_info;
 struct tui_gen_win_info;
 
 extern void tui_unhighlight_win (struct tui_win_info *);
-extern void tui_make_all_visible (void);
 extern void tui_make_all_invisible (void);
 extern void tui_make_window (struct tui_gen_win_info *, enum tui_box);
 extern void tui_highlight_win (struct tui_win_info *);