diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-13 18:30:53 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-20 16:45:50 -0600 |
commit | 072272ce055b0234ee9622a80d217f9d1f8083b3 (patch) | |
tree | 930fa1407e1588b15f778cf27e26da2c80ce72d1 /gdb/tui/tui-data.h | |
parent | 973961bda3cdf79e4c0768a5a5fd4eb6ab4acad2 (diff) | |
download | binutils-072272ce055b0234ee9622a80d217f9d1f8083b3.zip binutils-072272ce055b0234ee9622a80d217f9d1f8083b3.tar.gz binutils-072272ce055b0234ee9622a80d217f9d1f8083b3.tar.bz2 |
Remove some defines from tui-data.h
This removes the HILITE and NO_HILITE defines from tui-data.h, in
favor of simply passing a bool to box_win.
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.c (box_win): Change type of highlight_flag.
(tui_unhighlight_win, tui_highlight_win)
(tui_win_info::make_window): Update.
* tui/tui-data.h (HILITE, NO_HILITE): Remove.
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r-- | gdb/tui/tui-data.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index dda15d1..6dfea41 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -102,8 +102,6 @@ public: #define CMD_NAME "cmd" #define DATA_NAME "regs" #define DISASSEM_NAME "asm" -#define HILITE TRUE -#define NO_HILITE FALSE #define MIN_WIN_HEIGHT 3 #define MIN_CMD_WIN_HEIGHT 3 |