diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-09 20:57:10 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:15 -0600 |
commit | eb7c454d737322be2d810e1a5a2dc7b88fd636e6 (patch) | |
tree | 64e8621917eb34a7d086c24f3ea890a6a549181c /gdb/command.h | |
parent | e4e3333549c96d2915bb888b7b347566c938e75a (diff) | |
download | gdb-eb7c454d737322be2d810e1a5a2dc7b88fd636e6.zip gdb-eb7c454d737322be2d810e1a5a2dc7b88fd636e6.tar.gz gdb-eb7c454d737322be2d810e1a5a2dc7b88fd636e6.tar.bz2 |
Constify not_just_help_class_command
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* command.h (not_just_help_class_command): Update.
* cli/cli-decode.h (not_just_help_class_command): Update.
* cli/cli-decode.c (not_just_help_class_command): Constify.
Diffstat (limited to 'gdb/command.h')
-rw-r--r-- | gdb/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/command.h b/gdb/command.h index 3a6c589..b40cd7e 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -459,7 +459,7 @@ extern scoped_restore_tmpl<int> prevent_dont_repeat (void); function field NULL, the command is interpreted as a help topic, or as a class of commands. */ -extern void not_just_help_class_command (char *, int); +extern void not_just_help_class_command (const char *, int); /* Check function pointer. */ extern int cmd_func_p (struct cmd_list_element *cmd); |