From: Tom Tromey Date: Sun, 10 Sep 2017 03:40:16 +0000 (-0600) Subject: Constify user_defined_command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=898241a5ba617eb3e0bad4eb0bafaa9320320178;p=binutils-gdb.git Constify user_defined_command gdb/ChangeLog 2017-09-27 Tom Tromey * cli/cli-script.c (user_defined_command): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f65691d7b06..9ff18c65426 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 37466fd7663..0a93e8b54f4 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) { }