diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-11-07 00:55:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-11-07 00:55:04 +0000 |
commit | 9053b70efaad3b15547d74badd23cc9a32330cdd (patch) | |
tree | f012a5fd2850ea313d006ac8f61f81906b95b3b3 /bfd/vms-lib.c | |
parent | ed86b3506230d2b4e4d1da1948d047914eefa16b (diff) | |
download | gdb-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/vms-lib.c')
-rw-r--r-- | bfd/vms-lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |