diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-10 18:12:06 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-11-07 13:59:08 -0700 |
commit | 1ee870c5249864d36717a08864c60d7166b6b292 (patch) | |
tree | ff5d133249c44d7f26682c5bd5a71cdc770f60a4 /gdb/command.h | |
parent | ee7ddd713206fdf02512a9fb3fe928a210200c11 (diff) | |
download | gdb-1ee870c5249864d36717a08864c60d7166b6b292.zip gdb-1ee870c5249864d36717a08864c60d7166b6b292.tar.gz gdb-1ee870c5249864d36717a08864c60d7166b6b292.tar.bz2 |
Constify add_com_suppress_notification
This constifies add_com_suppress_notification and fixes the one
caller.
gdb/ChangeLog
2017-11-07 Tom Tromey <tom@tromey.com>
* stack.c (select_frame_command): Constify.
* cli/cli-decode.c (add_com_suppress_notification): Constify.
* command.h (add_com_suppress_notification): 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 71ad71d..c7922a0 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -274,7 +274,7 @@ extern struct cmd_list_element *add_com_alias (const char *, const char *, extern struct cmd_list_element *add_com_suppress_notification (const char *name, enum command_class theclass, - cmd_cfunc_ftype *fun, const char *doc, + cmd_const_cfunc_ftype *fun, const char *doc, int *supress_notification); extern struct cmd_list_element *add_info (const char *, |