[RFA,22/67] Constify user_defined_command
Commit Message
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(-)
@@ -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)
{
}