This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA 26/67] Constify new_ui_command


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(-)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]