Remove two unused enum constants from tui_win_type
authorTom Tromey <tom@tromey.com>
Sat, 22 Jun 2019 06:00:11 +0000 (00:00 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:46 +0000 (07:48 -0600)
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.

gdb/ChangeLog
gdb/tui/tui.h

index 9c6cf68..cc248f0 100644 (file)
@@ -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
index 8f6ef64..b3321de 100644 (file)
@@ -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 */