aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-24 15:43:40 -0600
committerTom Tromey <tom@tromey.com>2019-09-20 13:49:08 -0600
commit9abd8a65c1298258c005af3f80bdc4da9726ee05 (patch)
tree94c716e06fccfeb726d6ca732f02d02b4f57e042 /gdb/tui/tui-data.h
parentb5457826744f08208a4c29addbbc26c7c877c485 (diff)
downloadfsf-binutils-gdb-9abd8a65c1298258c005af3f80bdc4da9726ee05.zip
fsf-binutils-gdb-9abd8a65c1298258c005af3f80bdc4da9726ee05.tar.gz
fsf-binutils-gdb-9abd8a65c1298258c005af3f80bdc4da9726ee05.tar.bz2
Change "win_resized" to bool
This changes the "win_resized" global to be a bool and then updates the uses. gdb/ChangeLog 2019-09-20 Tom Tromey <tom@tromey.com> * tui/tui.c (tui_enable): Update. * tui/tui-win.c (tui_sigwinch_handler, tui_async_resize_screen): Update. * tui/tui-data.h (tui_win_resized, tui_set_win_resized_to): Update. * tui/tui-data.c (win_resized): Now bool. (tui_win_resized): Return bool. (tui_set_win_resized_to): Accept a bool.
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r--gdb/tui/tui-data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index be81950..2646523 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -297,8 +297,8 @@ extern void tui_set_term_width_to (int);
extern struct tui_locator_window *tui_locator_win_info_ptr (void);
extern struct tui_win_info *tui_win_with_focus (void);
extern void tui_set_win_with_focus (struct tui_win_info *);
-extern int tui_win_resized (void);
-extern void tui_set_win_resized_to (int);
+extern bool tui_win_resized ();
+extern void tui_set_win_resized_to (bool);
extern struct tui_win_info *tui_next_win (struct tui_win_info *);
extern struct tui_win_info *tui_prev_win (struct tui_win_info *);