[53/66] Remove two unused enum constants from tui_win_type

Message ID 20190624184841.3492-4-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey June 24, 2019, 6:48 p.m. UTC
  This removes a couple of unused constants from enum tui_win_type.

2019-06-23  Tom Tromey  <tom@tromey.com>

	* tui/tui.h (enum tui_win_type) <MAX_WINDOWS, UNDEFINED_WIN>:
	Remove.
---
 gdb/ChangeLog | 5 +++++
 gdb/tui/tui.h | 5 +----
 2 files changed, 6 insertions(+), 4 deletions(-)
  

Patch

diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h
index 8f6ef64f496..b3321de9fdc 100644
--- a/gdb/tui/tui.h
+++ b/gdb/tui/tui.h
@@ -45,10 +45,7 @@  enum tui_win_type
   /* Auxillary windows.  */
   LOCATOR_WIN,
   EXEC_INFO_WIN,
-  DATA_ITEM_WIN,
-  /* This must ALWAYS be next to last.  */
-  MAX_WINDOWS,
-  UNDEFINED_WIN		/* LAST */
+  DATA_ITEM_WIN
 };
 
 /* GENERAL TUI FUNCTIONS */