summaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-11 09:28:45 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-11 09:28:45 +0000
commit40c465b7c087f1d3021b69315bcd0fb9a29976bb (patch)
tree9bdc1828387944c28c96afd5f9fe1e01b4be2053 /bfd/libbfd.c
parentdebf03dc52b035f53ba3ecd55a793001d87e6844 (diff)
downloadbinutils-redhat-40c465b7c087f1d3021b69315bcd0fb9a29976bb.tar.gz
* libbfd.c (bfd_put_8): Make it of type `void'.
* bfd-in2.h: Regenerated. * elf32-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Conditionalize for 32-bit hosts. (_bfd_mips_elf_final_link): Likewise.
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index 23a27e3257..d2fee39ede 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -792,7 +792,7 @@ DESCRIPTION
.{* Byte swapping macros for user section data. *}
.
.#define bfd_put_8(abfd, val, ptr) \
-. (*((unsigned char *)(ptr)) = (unsigned char)(val))
+. ((void) (*((unsigned char *)(ptr)) = (unsigned char)(val)))
.#define bfd_put_signed_8 \
. bfd_put_8
.#define bfd_get_8(abfd, ptr) \