diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-22 00:00:11 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:46 -0600 |
commit | d2802c33429eb73303dc610401f5d7d27e071ff2 (patch) | |
tree | 739053e8f3d5ae99f3140c966e3900ec91983806 /gdb | |
parent | dd835f8b70a2dfb4d8b84a4744606a9c922aeb25 (diff) | |
download | gdb-d2802c33429eb73303dc610401f5d7d27e071ff2.zip gdb-d2802c33429eb73303dc610401f5d7d27e071ff2.tar.gz gdb-d2802c33429eb73303dc610401f5d7d27e071ff2.tar.bz2 |
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 <tom@tromey.com>
* tui/tui.h (enum tui_win_type) <MAX_WINDOWS, UNDEFINED_WIN>:
Remove.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <tom@tromey.com> + * tui/tui.h (enum tui_win_type) <MAX_WINDOWS, UNDEFINED_WIN>: + Remove. + +2019-06-25 Tom Tromey <tom@tromey.com> + * tui/tui-data.h (struct tui_command_element): Remove. (union tui_which_element) <command>: 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 */ |