Constify notif_client

It seems to me that a notif_client is read-only, so this patch changes
the code to use "const" everywhere.
This commit is contained in:
Tom Tromey
2022-12-21 14:15:16 -07:00
parent 5a5319833d
commit 42938c1a5b
4 changed files with 26 additions and 26 deletions

View File

@ -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