aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-05-21 08:16:10 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-05-21 08:16:10 +0000
commit3641da115a352b1bd2da45677547be905eca59e2 (patch)
tree2d0490627718dbf865475310459fb72fa21ef670 /gdb/solib.h
parent023928657e0f3dbb017ffc120a80314892a2f9cb (diff)
downloadgdb-3641da115a352b1bd2da45677547be905eca59e2.zip
gdb-3641da115a352b1bd2da45677547be905eca59e2.tar.gz
gdb-3641da115a352b1bd2da45677547be905eca59e2.tar.bz2
gdb/
Code cleanup: constification. * solib.c (solib_ops): Make return type and ops variable type const. (set_solib_ops): Make the new_ops parameter and ops variable const. (solib_find, solib_map_sections, clear_so, free_so, update_solib_list) (solib_add, solib_keep_data_in_core, clear_solib) (solib_create_inferior_hook, in_solib_dynsym_resolve_code) (reload_shared_libraries, solib_global_lookup): Make the ops variable const. * solib.h (set_solib_ops): Make the new_ops parameter const.
Diffstat (limited to 'gdb/solib.h')
-rw-r--r--gdb/solib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.h b/gdb/solib.h
index b811866..8829d16 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -71,7 +71,7 @@ extern void no_shared_libraries (char *ignored, int from_tty);
/* Set the solib operations for GDBARCH to NEW_OPS. */
extern void set_solib_ops (struct gdbarch *gdbarch,
- struct target_so_ops *new_ops);
+ const struct target_so_ops *new_ops);
/* Return non-zero if NAME is the libpthread shared library. */