[RFA,26/67] Constify new_ui_command

Message ID 20170921051023.19023-27-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey Sept. 21, 2017, 5:09 a.m. UTC
  ChangeLog
2017-09-20  Tom Tromey  <tom@tromey.com>

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

Patch

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;