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

Tom Tromey
2019-06-24T18:48:55Z

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(-)

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 */
--
2.17.2