mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
Make tui_default_win_height static
tui_default_win_height is only used in tui-layout.c, so make it static. gdb/ChangeLog 2019-08-13 Tom Tromey <tom@tromey.com> * tui/tui-layout.h (tui_default_win_height): Don't declare. * tui/tui-layout.c (tui_default_win_height): Now static.
This commit is contained in:
parent
cc0c3ffbc9
commit
16cb7910b9
@ -1,3 +1,8 @@
|
||||
2019-08-13 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* tui/tui-layout.h (tui_default_win_height): Don't declare.
|
||||
* tui/tui-layout.c (tui_default_win_height): Now static.
|
||||
|
||||
2019-08-13 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* tui/tui-layout.c (show_layout): Unify all layout cases into a
|
||||
|
@ -254,7 +254,7 @@ tui_add_win_to_layout (enum tui_win_type type)
|
||||
/* Answer the height of a window. If it hasn't been created yet,
|
||||
answer what the height of a window would be based upon its type and
|
||||
the layout. */
|
||||
int
|
||||
static int
|
||||
tui_default_win_height (enum tui_win_type type,
|
||||
enum tui_layout_type layout)
|
||||
{
|
||||
|
@ -26,8 +26,6 @@
|
||||
#include "tui/tui-data.h"
|
||||
|
||||
extern void tui_add_win_to_layout (enum tui_win_type);
|
||||
extern int tui_default_win_height (enum tui_win_type,
|
||||
enum tui_layout_type);
|
||||
extern int tui_default_win_viewport_height (enum tui_win_type,
|
||||
enum tui_layout_type);
|
||||
extern void tui_set_layout (enum tui_layout_type);
|
||||
|
Loading…
Reference in New Issue
Block a user