diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-09 21:40:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:31 -0600 |
commit | 898241a5ba617eb3e0bad4eb0bafaa9320320178 (patch) | |
tree | c3a56b6eb9dc4f8b61b0efee12d8f488dd3cc7e1 /gdb/cli/cli-script.c | |
parent | 2d0ac1068babfe8800607b17ddb2f31189bdb334 (diff) | |
download | gdb-898241a5ba617eb3e0bad4eb0bafaa9320320178.zip gdb-898241a5ba617eb3e0bad4eb0bafaa9320320178.tar.gz gdb-898241a5ba617eb3e0bad4eb0bafaa9320320178.tar.bz2 |
Constify user_defined_command
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-script.c (user_defined_command): Constify.
Diffstat (limited to 'gdb/cli/cli-script.c')
-rw-r--r-- | gdb/cli/cli-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { } |