diff options
author | Tom Tromey <tromey@adacore.com> | 2022-12-21 14:15:16 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-01-20 10:48:26 -0700 |
commit | 42938c1a5b84207e9b6526e56d8e57e1ad3bab5f (patch) | |
tree | 9283f9c7caaa77db215bc665c4f65c98a3e7ba4c /gdb/remote.h | |
parent | 5a5319833d7bcac780f4a21cf1e72a4c5c67f575 (diff) | |
download | fsf-binutils-gdb-42938c1a5b84207e9b6526e56d8e57e1ad3bab5f.zip fsf-binutils-gdb-42938c1a5b84207e9b6526e56d8e57e1ad3bab5f.tar.gz fsf-binutils-gdb-42938c1a5b84207e9b6526e56d8e57e1ad3bab5f.tar.bz2 |
Constify notif_client
It seems to me that a notif_client is read-only, so this patch changes
the code to use "const" everywhere.
Diffstat (limited to 'gdb/remote.h')
-rw-r--r-- | gdb/remote.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.h b/gdb/remote.h index bce271d..74366cd 100644 --- a/gdb/remote.h +++ b/gdb/remote.h @@ -78,7 +78,7 @@ extern int remote_register_number_and_offset (struct gdbarch *gdbarch, int *poffset); extern void remote_notif_get_pending_events (remote_target *remote, - struct notif_client *np); + const notif_client *np); extern bool remote_target_is_non_stop_p (remote_target *t); /* An abstract class that represents the set of callbacks that are made |