[RFA,31/67] Constify some commands in tui.c
Commit Message
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* tui/tui.c (tui_enable_command, tui_disable_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/tui/tui.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
@@ -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 ();
}