aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:51:21 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:39 -0600
commitb961da0bb033e0058059695fdc28c5fbe0057c1a (patch)
treeb7c65b10c4c5d621f649dfd62aa93b1ccebde947 /gdb/tui
parente2d8ae16c0c9a4f6c61ddb9af3d6ec8b2b71db2a (diff)
downloadgdb-b961da0bb033e0058059695fdc28c5fbe0057c1a.zip
gdb-b961da0bb033e0058059695fdc28c5fbe0057c1a.tar.gz
gdb-b961da0bb033e0058059695fdc28c5fbe0057c1a.tar.bz2
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.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index 77dc866..a59907f 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -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 ();
}