diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-01 14:41:28 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:19 -0600 |
commit | 4a38112da00f45527de4aec0b645443c6ee0e01e (patch) | |
tree | cbee1663c64ef041e3bab86b35b386b054e9aae1 /gdb/tui/tui-wingeneral.h | |
parent | 0912922656b9fec5f04623ea49292b7ae564c7ef (diff) | |
download | gdb-4a38112da00f45527de4aec0b645443c6ee0e01e.zip gdb-4a38112da00f45527de4aec0b645443c6ee0e01e.tar.gz gdb-4a38112da00f45527de4aec0b645443c6ee0e01e.tar.bz2 |
Remove tui_make_visible and tui_make_invisible
tui_make_visible and tui_make_invisible are just wrappers for a method
call, so remove them and have the callers simply make the method call
themselves.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.h (tui_make_visible, tui_make_invisible):
Don't declare.
* tui/tui-wingeneral.c (tui_make_visible, tui_make_invisible):
Remove.
* tui/tui-win.c (tui_source_window_base::set_new_height)
(tui_source_window_base::set_new_height)
(make_invisible_and_set_new_height)
(tui_source_window_base::do_make_visible_with_new_height)
(tui_source_window_base::do_make_visible_with_new_height):
Update.
* tui/tui-layout.c (show_source_disasm_command, show_data)
(show_source_or_disasm_and_command): Update.
* tui/tui-layout.c (show_layout): Update.
Diffstat (limited to 'gdb/tui/tui-wingeneral.h')
-rw-r--r-- | gdb/tui/tui-wingeneral.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h index 20b7f21..5e6198d 100644 --- a/gdb/tui/tui-wingeneral.h +++ b/gdb/tui/tui-wingeneral.h @@ -28,8 +28,6 @@ struct tui_win_info; struct tui_gen_win_info; extern void tui_unhighlight_win (struct tui_win_info *); -extern void tui_make_visible (struct tui_gen_win_info *); -extern void tui_make_invisible (struct tui_gen_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); |