diff options
author | Tom Tromey <tom@tromey.com> | 2020-06-16 17:45:36 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-06-17 20:07:04 -0600 |
commit | 612f258a491539f36c618030cc558e83e7d58b4e (patch) | |
tree | 0bf0b61d82f43d7d8d151857f415e9c24b61b610 /gdb | |
parent | 0574b47b73d57f7d78b174aaad01e8d1141bbe32 (diff) | |
download | binutils-612f258a491539f36c618030cc558e83e7d58b4e.zip binutils-612f258a491539f36c618030cc558e83e7d58b4e.tar.gz binutils-612f258a491539f36c618030cc558e83e7d58b4e.tar.bz2 |
Remove unnecessary TUI declarations
I found some unnecessary declarations (and one unused macro) in the
TUI. This patch removes them.
gdb/ChangeLog
2020-06-17 Tom Tromey <tom@tromey.com>
* tui/tui-win.h (tui_scroll_forward, tui_scroll_backward)
(tui_scroll_left, tui_scroll_right, struct tui_win_info): Don't
declare.
* tui/tui-data.h (MIN_CMD_WIN_HEIGHT): Remove.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/tui/tui-data.h | 1 | ||||
-rw-r--r-- | gdb/tui/tui-win.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index faf7b10..da4be15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2020-06-17 Tom Tromey <tom@tromey.com> + + * tui/tui-win.h (tui_scroll_forward, tui_scroll_backward) + (tui_scroll_left, tui_scroll_right, struct tui_win_info): Don't + declare. + * tui/tui-data.h (MIN_CMD_WIN_HEIGHT): Remove. + 2020-06-15 Simon Marchi <simon.marchi@efficios.com> * dwarf2/read.c (dwarf2_initialize_objfile): Check for presence diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index abe7727..1accf36 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -132,7 +132,6 @@ public: #define DISASSEM_NAME "asm" #define STATUS_NAME "status" #define MIN_WIN_HEIGHT 3 -#define MIN_CMD_WIN_HEIGHT 3 /* Strings to display in the TUI status line. */ #define SINGLE_KEY "(SingleKey)" diff --git a/gdb/tui/tui-win.h b/gdb/tui/tui-win.h index e379184..65ad8bf 100644 --- a/gdb/tui/tui-win.h +++ b/gdb/tui/tui-win.h @@ -24,12 +24,6 @@ #include "tui/tui-data.h" -struct tui_win_info; - -extern void tui_scroll_forward (struct tui_win_info *, int); -extern void tui_scroll_backward (struct tui_win_info *, int); -extern void tui_scroll_left (struct tui_win_info *, int); -extern void tui_scroll_right (struct tui_win_info *, int); extern void tui_set_win_focus_to (struct tui_win_info *); extern void tui_resize_all (void); extern void tui_refresh_all_win (void); |