summaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-01-14 13:14:06 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-01-14 13:14:06 +0000
commita8869f6c09c81263112ba80ef3f91a3bbe2eb91f (patch)
tree2f25e444b3901f77027b165a4e79cac076c6b33c /bfd/libbfd.h
parent33e0a2a83803730c349902ca99f1050b6e737ba2 (diff)
downloadbinutils-redhat-a8869f6c09c81263112ba80ef3f91a3bbe2eb91f.tar.gz
PR binutils/14813
* bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06. (memory_bclose): Likewise. Return 0 on success. * cache.c (cache_bclose): Likewise. * opncls.c (opncls_bclose, bfd_close): Likewise. * vms-lib.c (vms_lib_bclose): Likewise. * libbfd.h: Regenerate.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index d548143c4c..7c78d9b05e 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -871,7 +871,7 @@ struct bfd_iovec
/* For the following, on successful completion a value of 0 is returned.
Otherwise, a value of -1 is returned (and <<bfd_error>> is set). */
int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
- bfd_boolean (*bclose) (struct bfd *abfd);
+ int (*bclose) (struct bfd *abfd);
int (*bflush) (struct bfd *abfd);
int (*bstat) (struct bfd *abfd, struct stat *sb);
/* Mmap a part of the files. ADDR, LEN, PROT, FLAGS and OFFSET are the usual