aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-03 21:28:43 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-03 21:28:43 +0000
commit1a973af1cf2bc463703eeeeba25c4e0a2d7636fa (patch)
tree8161a9a291b21262ca95e56e0b3eb14128f4af9c /bfd/bfd-in.h
parente7c4e61cc9fda986784f6eadc9645842a60e0630 (diff)
downloadgdb-1a973af1cf2bc463703eeeeba25c4e0a2d7636fa.zip
gdb-1a973af1cf2bc463703eeeeba25c4e0a2d7636fa.tar.gz
gdb-1a973af1cf2bc463703eeeeba25c4e0a2d7636fa.tar.bz2
* bfd-in.h (bfd_get{b,l}[_signed_]{16,32,64}): Declare argument to
be a const pointer. * bfd-in2.h: Rebuilt. * libbfd.c (bfd_get{b,l}[_signed_]{16,32,64}): Declare argument to be a const pointer. * targets.c (bfd_target): Change swap function pointers accordingly. * archive.c (do_slurp_coff_armap): Change swap accordingly. * aix386-core.c: Change NO_GET and NO_GETS accordingly. * hppabsd-core.c, hpux-core.c, irix-core.c, osf-core.c, ptrace-core.c, trad-core.c: Change NO_GET and NO_SIGNED_GET accordingly.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 810e803..343944b 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -515,18 +515,18 @@ CAT(NAME,_bfd_final_link)
/* Byte swapping routines. */
-bfd_vma bfd_getb64 PARAMS ((unsigned char *));
-bfd_vma bfd_getl64 PARAMS ((unsigned char *));
-bfd_signed_vma bfd_getb_signed_64 PARAMS ((unsigned char *));
-bfd_signed_vma bfd_getl_signed_64 PARAMS ((unsigned char *));
-bfd_vma bfd_getb32 PARAMS ((unsigned char *));
-bfd_vma bfd_getl32 PARAMS ((unsigned char *));
-bfd_signed_vma bfd_getb_signed_32 PARAMS ((unsigned char *));
-bfd_signed_vma bfd_getl_signed_32 PARAMS ((unsigned char *));
-bfd_vma bfd_getb16 PARAMS ((unsigned char *));
-bfd_vma bfd_getl16 PARAMS ((unsigned char *));
-bfd_signed_vma bfd_getb_signed_16 PARAMS ((unsigned char *));
-bfd_signed_vma bfd_getl_signed_16 PARAMS ((unsigned char *));
+bfd_vma bfd_getb64 PARAMS ((const unsigned char *));
+bfd_vma bfd_getl64 PARAMS ((const unsigned char *));
+bfd_signed_vma bfd_getb_signed_64 PARAMS ((const unsigned char *));
+bfd_signed_vma bfd_getl_signed_64 PARAMS ((const unsigned char *));
+bfd_vma bfd_getb32 PARAMS ((const unsigned char *));
+bfd_vma bfd_getl32 PARAMS ((const unsigned char *));
+bfd_signed_vma bfd_getb_signed_32 PARAMS ((const unsigned char *));
+bfd_signed_vma bfd_getl_signed_32 PARAMS ((const unsigned char *));
+bfd_vma bfd_getb16 PARAMS ((const unsigned char *));
+bfd_vma bfd_getl16 PARAMS ((const unsigned char *));
+bfd_signed_vma bfd_getb_signed_16 PARAMS ((const unsigned char *));
+bfd_signed_vma bfd_getl_signed_16 PARAMS ((const unsigned char *));
void bfd_putb64 PARAMS ((bfd_vma, unsigned char *));
void bfd_putl64 PARAMS ((bfd_vma, unsigned char *));
void bfd_putb32 PARAMS ((bfd_vma, unsigned char *));