diff options
author | Tom Tromey <tom@tromey.com> | 2019-04-21 20:10:51 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-05-04 14:13:27 -0600 |
commit | 7f008c9e6a3cbb248f5b6e8638af4b9d5225981b (patch) | |
tree | 9e1338068fed7ca0c4d1b05d056f6c94f615fccc /gdb/command.h | |
parent | b6484282f85bf7f11451b2441599c241d302ad9d (diff) | |
download | gdb-7f008c9e6a3cbb248f5b6e8638af4b9d5225981b.zip gdb-7f008c9e6a3cbb248f5b6e8638af4b9d5225981b.tar.gz gdb-7f008c9e6a3cbb248f5b6e8638af4b9d5225981b.tar.bz2 |
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.
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 4a239a7..35006cc 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -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. */ |