aboutsummaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-06-06 08:06:15 -0600
committerTom Tromey <tom@tromey.com>2016-06-10 10:10:17 -0600
commit695bfa52ccf22058e371828c3636a3d74424ec5b (patch)
tree7028ec77f5549b675d1333cae0c6e1d0559a1ef6 /elfcpp
parent347dc1025db1c0acf616ab6520c3f36448f25e8b (diff)
downloadbinutils-695bfa52ccf22058e371828c3636a3d74424ec5b.zip
binutils-695bfa52ccf22058e371828c3636a3d74424ec5b.tar.gz
binutils-695bfa52ccf22058e371828c3636a3d74424ec5b.tar.bz2
Constify arch_type and friends
While working on the Rust support, I happened to notice that arch_type and related functions take "char *" arguments, where "const char *" would be more correct. This patch fixes this oversight. Tested by rebuilding. 2016-06-10 Tom Tromey <tom@tromey.com> * gdbtypes.c (arch_type, arch_integer_type, arch_character_type) (arch_boolean_type, arch_float_type, arch_complex_type) (arch_flags_type, append_flags_type_field) (append_flags_type_flag, arch_composite_type) (append_composite_type_field_raw) (append_composite_type_field_aligned) (append_composite_type_field): Make "name" parameter const. * gdbtypes.h (arch_type, arch_integer_type, arch_character_type) (arch_boolean_type, arch_float_type, arch_complex_type) (append_composite_type_field, append_composite_type_field_aligned) (append_composite_type_field_raw, arch_flags_type) (append_flags_type_field, append_flags_type_flag): Constify.
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions