diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-06-11 15:13:32 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-06-11 15:13:32 +0000 |
commit | 77594968f1b120ce44755392c15889d914efcc7b (patch) | |
tree | 8b00eea4d9eaf38f7654b2941ee6f191b4a0a3e1 /bfd/vms.h | |
parent | b7bf46094dcf856de2ba82e093cfc2357adc8ec5 (diff) | |
download | binutils-redhat-77594968f1b120ce44755392c15889d914efcc7b.tar.gz |
2010-06-11 Tristan Gingold <gingold@adacore.com>
* vms-misc.c (_bfd_vms_output_counted): Make VALUE argument const.
Adjust cast.
(_bfd_vms_output_dump): Make DATA argument const, adjust cast.
* vms.h (_bfd_vms_output_counted, _bfd_vms_output_dump): Adjust.
* vms-alpha.c (evax_section_flags): Make it const.
(vms_secflag_by_name): Remove unused ABFD argument.
Make SECTION_FLAGS and NAME arguments const. Clarify comment.
(vms_esecflag_by_name): Make SECTION_FLAGS and NAME arguments const.
(_bfd_vms_slurp_egsd): Adjust call to vms_secflag_by_name.
(_bfd_vms_write_egsd): Remove useless cast.
Diffstat (limited to 'bfd/vms.h')
-rw-r--r-- | bfd/vms.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,8 +131,8 @@ extern void _bfd_vms_output_byte (struct vms_rec_wr *, unsigned); extern void _bfd_vms_output_short (struct vms_rec_wr *, unsigned); extern void _bfd_vms_output_long (struct vms_rec_wr *, unsigned long); extern void _bfd_vms_output_quad (struct vms_rec_wr *, bfd_vma); -extern void _bfd_vms_output_counted (struct vms_rec_wr *, char *); -extern void _bfd_vms_output_dump (struct vms_rec_wr *, unsigned char *, int); +extern void _bfd_vms_output_counted (struct vms_rec_wr *, const char *); +extern void _bfd_vms_output_dump (struct vms_rec_wr *, const unsigned char *, int); extern void _bfd_vms_output_fill (struct vms_rec_wr *, int, int); extern int _bfd_vms_convert_to_var_unix_filename (const char *); |