From 898241a5ba617eb3e0bad4eb0bafaa9320320178 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 9 Sep 2017 21:40:16 -0600 Subject: [PATCH] Constify user_defined_command gdb/ChangeLog 2017-09-27 Tom Tromey * 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/ChangeLog b/gdb/ChangeLog index f65691d7b0..9ff18c6542 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * cli/cli-script.c (user_defined_command): Constify. + 2017-09-27 Tom Tromey * cli/cli-dump.c (dump_memory_command, dump_value_command) diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 37466fd766..0a93e8b54f 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.34.1