From: Tom Tromey Date: Sun, 10 Sep 2017 03:44:55 +0000 (-0600) Subject: Constify new_ui_command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32faf971cd86d0a13c6b3db4626d4c8bd119e6c5;p=binutils-gdb.git Constify new_ui_command gdb/ChangeLog 2017-09-27 Tom Tromey * top.c (new_ui_command): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 76585e84cfb..4218f966e4f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * top.c (new_ui_command): Constify. + 2017-09-27 Tom Tromey * symfile.c (add_symbol_file_command) diff --git a/gdb/top.c b/gdb/top.c index c89e78f2439..4fc987c4329 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -354,7 +354,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;