Change valid_user_defined_cmd_name_p to return bool
This changes valid_user_defined_cmd_name_p to return bool. gdb/ChangeLog 2019-05-04 Tom Tromey <tom@tromey.com> * cli/cli-decode.c (valid_user_defined_cmd_name_p): Return bool. * command.h (valid_user_defined_cmd_name_p): Channge return type.
This commit is contained in:
parent
b6484282f8
commit
7f008c9e6a
3 changed files with 10 additions and 5 deletions
|
@ -133,7 +133,7 @@ extern struct cli_suppress_notification cli_suppress_notification;
|
|||
|
||||
/* API to the manipulation of command lists. */
|
||||
|
||||
extern int valid_user_defined_cmd_name_p (const char *name);
|
||||
extern bool valid_user_defined_cmd_name_p (const char *name);
|
||||
|
||||
/* Const-correct variant of the above. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue