From d2802c33429eb73303dc610401f5d7d27e071ff2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 22 Jun 2019 00:00:11 -0600 Subject: [PATCH] Remove two unused enum constants from tui_win_type This removes a couple of unused constants from enum tui_win_type. gdb/ChangeLog 2019-06-25 Tom Tromey * tui/tui.h (enum tui_win_type) : Remove. --- gdb/ChangeLog | 5 +++++ gdb/tui/tui.h | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9c6cf68..cc248f0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2019-06-25 Tom Tromey + * tui/tui.h (enum tui_win_type) : + Remove. + +2019-06-25 Tom Tromey + * tui/tui-data.h (struct tui_command_element): Remove. (union tui_which_element) : Remove. * tui/tui-data.c (init_content_element): Remove CMD_WIN case. Add diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h index 8f6ef64..b3321de 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.7.4