aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-10-10 18:12:06 -0600
committerTom Tromey <tom@tromey.com>2017-11-07 13:59:08 -0700
commit1ee870c5249864d36717a08864c60d7166b6b292 (patch)
treeff5d133249c44d7f26682c5bd5a71cdc770f60a4 /gdb/cli
parentee7ddd713206fdf02512a9fb3fe928a210200c11 (diff)
downloadgdb-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/cli')
-rw-r--r--gdb/cli/cli-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 5fc3187..f66bb2a 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -950,7 +950,7 @@ add_com_alias (const char *name, const char *oldname, enum command_class theclas
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 *suppress_notification)
{
struct cmd_list_element *element;