aboutsummaryrefslogtreecommitdiff
path: root/bfd/cache.c
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/cache.c
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/cache.c')
-rw-r--r--bfd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cache.c b/bfd/cache.c
index 88f89b1..b1dcd5a 100644
--- a/bfd/cache.c
+++ b/bfd/cache.c
@@ -359,7 +359,7 @@ cache_bwrite (struct bfd *abfd, const void *where, file_ptr nbytes)
return nwrite;
}
-static int
+static bfd_boolean
cache_bclose (struct bfd *abfd)
{
return bfd_cache_close (abfd);