aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-11-07 00:55:04 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-11-07 00:55:04 +0000
commit9053b70efaad3b15547d74badd23cc9a32330cdd (patch)
treef012a5fd2850ea313d006ac8f61f81906b95b3b3 /bfd/libbfd.h
parented86b3506230d2b4e4d1da1948d047914eefa16b (diff)
downloadgdb-9053b70efaad3b15547d74badd23cc9a32330cdd.zip
gdb-9053b70efaad3b15547d74badd23cc9a32330cdd.tar.gz
gdb-9053b70efaad3b15547d74badd23cc9a32330cdd.tar.bz2
Change return type of bclose to bfd_boolean
PR binutils/14813 * bfdio.c (bfd_iovec): Change return type of bclose to bfd_boolean. (memory_bclose): Change return type to bfd_boolean. * cache.c (cache_bclose): Likewise. * opncls.c (opncls_bclose): Likewise. Return TRUE on success. * vms-lib.c (vms_lib_bclose): Likewise. Return TRUE. * libbfd.h: Regenerated.
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 fe126e6..0458e39 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);
- int (*bclose) (struct bfd *abfd);
+ bfd_boolean (*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