From: Tom Tromey Date: Sun, 10 Sep 2017 03:51:21 +0000 (-0600) Subject: Constify some commands in tui.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b961da0bb033e0058059695fdc28c5fbe0057c1a;p=binutils-gdb.git Constify some commands in tui.c gdb/ChangeLog 2017-09-27 Tom Tromey * tui/tui.c (tui_enable_command, tui_disable_command): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b55230788aa..08d34625913 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * tui/tui.c (tui_enable_command, tui_disable_command): Constify. + 2017-09-27 Tom Tromey * tui/tui-regs.c (tui_reg_command): Constify. diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 77dc86642f2..a59907f7639 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 (); }