diff options
author | Tom Tromey <tromey@adacore.com> | 2022-08-08 11:00:50 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-09-20 12:25:19 -0600 |
commit | 549dfc51b07c0c749ebde15a3fa855ab496ea18a (patch) | |
tree | 19524424c91615492c20104d1e6b880e4afa5fc4 /gdb/frv-tdep.h | |
parent | 9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4 (diff) | |
download | gdb-549dfc51b07c0c749ebde15a3fa855ab496ea18a.zip gdb-549dfc51b07c0c749ebde15a3fa855ab496ea18a.tar.gz gdb-549dfc51b07c0c749ebde15a3fa855ab496ea18a.tar.bz2 |
Constify some target_so_ops instances
This changes some target_so_ops instances to be const. This makes
their use a little more obvious (they can't be mutated) and also
allows for the removal of some initialization code.
Diffstat (limited to 'gdb/frv-tdep.h')
-rw-r--r-- | gdb/frv-tdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frv-tdep.h b/gdb/frv-tdep.h index 64052b8..037d81a 100644 --- a/gdb/frv-tdep.h +++ b/gdb/frv-tdep.h @@ -119,6 +119,6 @@ CORE_ADDR frv_fdpic_find_canonical_descriptor (CORE_ADDR entry_point); CORE_ADDR frv_fetch_objfile_link_map (struct objfile *objfile); struct target_so_ops; -extern struct target_so_ops frv_so_ops; +extern const struct target_so_ops frv_so_ops; #endif /* FRV_TDEP_H */ |