* utils.c (set_width_command): Remove prototypes.
authorMark Kettenis <kettenis@gnu.org>
Fri, 22 Aug 2003 20:23:15 +0000 (20:23 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 22 Aug 2003 20:23:15 +0000 (20:23 +0000)
commiteb0d3137b16dbf08ca4870613155080963e36752
tree749eb18495d33bd5c2293915f679bcc7dfab1c3f
parent3567a8eaa2eac49fa28b7a0d8a1572280c5e8bc2
* utils.c (set_width_command): Remove prototypes.
(set_screen_size): New prototype.
(init_page_info): Simplify by fetching the screen size from
Readline.  Call set_screen_size.
(set_screen_size): New function.
(set_width): Add missing whitespace in comment.
(set_width_command): Call set_screen_size.
(set_height_command): New function.
(initialize_utils): Fix formatting.  Make "set height" command
call set_height_command.  Remove redundant code that turns off
pagination if output isn't a terminal.  Remove redundant call to
set_width_command.
gdb/ChangeLog
gdb/utils.c