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 9c6cf686cb3bb8cd9fb7da7624162c68d4f206d0..cc248f07c06fc325f3b44bd15bd1614f9057ca1f 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 8f6ef64f4966eb36c8bac490db515c960d32c6dc..b3321de9fdc2d3c4064a1fd94791c27084758d3f 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 */
This page took 0.029687 seconds and 4 git commands to generate.