mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
Constify some commands in tui.c
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * tui/tui.c (tui_enable_command, tui_disable_command): Constify.
This commit is contained in:
parent
e2d8ae16c0
commit
b961da0bb0
@ -1,3 +1,7 @@
|
||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* tui/tui.c (tui_enable_command, tui_disable_command): Constify.
|
||||
|
||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* tui/tui-regs.c (tui_reg_command): Constify.
|
||||
|
@ -545,7 +545,7 @@ tui_disable (void)
|
||||
/* Command wrapper for enabling tui mode. */
|
||||
|
||||
static void
|
||||
tui_enable_command (char *args, int from_tty)
|
||||
tui_enable_command (const char *args, int from_tty)
|
||||
{
|
||||
tui_enable ();
|
||||
}
|
||||
@ -553,7 +553,7 @@ tui_enable_command (char *args, int from_tty)
|
||||
/* Command wrapper for leaving tui mode. */
|
||||
|
||||
static void
|
||||
tui_disable_command (char *args, int from_tty)
|
||||
tui_disable_command (const char *args, int from_tty)
|
||||
{
|
||||
tui_disable ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user