This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 26/67] Constify new_ui_command
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:09:42 -0600
- Subject: [RFA 26/67] Constify new_ui_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
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