public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove tui_win_is_auxiliary
@ 2019-10-09 23:01 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-10-09 23:01 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c45899e280be21dad7557dad641abeccd9bb37f

commit 5c45899e280be21dad7557dad641abeccd9bb37f
Author: Tom Tromey <tom@tromey.com>
Date:   Tue Oct 1 17:14:14 2019 -0600

    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.

Diff:
---
 gdb/ChangeLog      | 5 +++++
 gdb/tui/tui-data.c | 6 ------
 gdb/tui/tui-data.h | 2 --
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7fb3394..d8a5108 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 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
 	window height directly.
 	* tui/tui-layout.h (tui_default_win_viewport_height): Don't
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index 748d897..f1f3947 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -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 ()
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index 2646523..6d4fb78 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -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];


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-09 23:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 23:01 [binutils-gdb] Remove tui_win_is_auxiliary 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).