From 9053b70efaad3b15547d74badd23cc9a32330cdd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 7 Nov 2012 00:55:04 +0000 Subject: 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. --- bfd/vms-lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/vms-lib.c') diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c index 56b80ad..8f15419 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 int +static bfd_boolean vms_lib_bclose (struct bfd *abfd) { abfd->iostream = NULL; - return 0; + return TRUE; } static int -- cgit v1.1