Remove tui_win_is_auxiliary

tui_win_is_auxiliary is not used, so remove it.

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

	* tui/tui-data.c (tui_win_is_auxiliary): Remove.
	* tui/tui-data.h (tui_win_is_auxiliary): Don't declare.
This commit is contained in:
Tom Tromey 2019-10-01 17:14:14 -06:00
parent 6d7fd9aa47
commit 5c45899e28
3 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2019-10-09 Tom Tromey <tom@tromey.com>
* tui/tui-data.c (tui_win_is_auxiliary): Remove.
* tui/tui-data.h (tui_win_is_auxiliary): Don't declare.
2019-10-09 Tom Tromey <tom@tromey.com>
* tui/tui-disasm.c (tui_get_low_disassembly_address): Compute

View File

@ -34,12 +34,6 @@ static struct tui_win_info *win_with_focus = NULL;
static bool win_resized = false;
int
tui_win_is_auxiliary (enum tui_win_type win_type)
{
return (win_type > MAX_MAJOR_WINDOWS);
}
/* Answer a whether the terminal window has been resized or not. */
bool
tui_win_resized ()

View File

@ -207,8 +207,6 @@ public:
bool is_highlighted = false;
};
extern int tui_win_is_auxiliary (enum tui_win_type win_type);
/* Global Data. */
extern struct tui_win_info *tui_win_list[MAX_MAJOR_WINDOWS];