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
commit417e818adbbc39a5aad2510069a234def8088e67 (patch)
tree5cb6015395e35be5053edc8d8096798ca59d77b9 /bfd/libbfd.c
parent8f1ca160b151932f2eb709ffe4734901b8d3e43f (diff)
downloadgdb-417e818adbbc39a5aad2510069a234def8088e67.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 23a27e3257c..d2fee39edeb 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) \