This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 22/67] Constify user_defined_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:38 -0600
- Subject: [RFA 22/67] Constify user_defined_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* cli/cli-script.c (user_defined_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/cli/cli-script.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index 37466fd..0a93e8b 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -1401,7 +1401,7 @@ validate_comname (char **comname)
/* This is just a placeholder in the command data structures. */
static void
-user_defined_command (char *ignore, int from_tty)
+user_defined_command (const char *ignore, int from_tty)
{
}
--
2.9.4