aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-aix.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-08 11:00:50 -0600
committerTom Tromey <tromey@adacore.com>2022-09-20 12:25:19 -0600
commit549dfc51b07c0c749ebde15a3fa855ab496ea18a (patch)
tree19524424c91615492c20104d1e6b880e4afa5fc4 /gdb/solib-aix.h
parent9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4 (diff)
downloadgdb-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/solib-aix.h')
-rw-r--r--gdb/solib-aix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-aix.h b/gdb/solib-aix.h
index edb0b5a..24415f6 100644
--- a/gdb/solib-aix.h
+++ b/gdb/solib-aix.h
@@ -19,7 +19,7 @@
#define SOLIB_AIX_H
struct target_so_ops;
-extern struct target_so_ops solib_aix_so_ops;
+extern const struct target_so_ops solib_aix_so_ops;
extern CORE_ADDR solib_aix_get_toc_value (CORE_ADDR pc);