[RFA 26/67] Constify new_ui_command

Tom Tromey
2017-09-21T05:13:25Z

* top.c (new_ui_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/top.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/top.c b/gdb/top.c
index 404e096..137ae3b 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -357,7 +357,7 @@ open_terminal_stream (const char *name)
/* Implementation of the "new-ui" command. */

static void
-new_ui_command (char *args, int from_tty)
+new_ui_command (const char *args, int from_tty)
{
struct ui *ui;
struct interp *interp;
--
2.9.4