aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-lib.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-01-14 13:14:08 +0000
committerAlan Modra <amodra@gmail.com>2013-01-14 13:14:08 +0000
commit405bf443e52b6986413e7b02cb783e4ae92b0dda (patch)
tree87d44f7a0c74676bc6ccccee729cf23956a6151f /bfd/vms-lib.c
parent130b4629e4d842da9d371f4b28397cfc591db035 (diff)
downloadgdb-405bf443e52b6986413e7b02cb783e4ae92b0dda.zip
gdb-405bf443e52b6986413e7b02cb783e4ae92b0dda.tar.gz
gdb-405bf443e52b6986413e7b02cb783e4ae92b0dda.tar.bz2
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/vms-lib.c')
-rw-r--r--bfd/vms-lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
index 8aa0e9a..b553570 100644
--- a/bfd/vms-lib.c
+++ b/bfd/vms-lib.c
@@ -1174,11 +1174,11 @@ vms_lib_bwrite (struct bfd *abfd ATTRIBUTE_UNUSED,
return -1;
}
-static bfd_boolean
+static int
vms_lib_bclose (struct bfd *abfd)
{
abfd->iostream = NULL;
- return TRUE;
+ return 0;
}
static int