summaryrefslogtreecommitdiff
path: root/bfd/corefile.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
commitb34976b65aea8f33690229600bbf4527ec3118e1 (patch)
tree6411348664ef81ca2aa2e3ff325116e6e6502edf /bfd/corefile.c
parent583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff)
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'bfd/corefile.c')
-rw-r--r--bfd/corefile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/corefile.c b/bfd/corefile.c
index 24142254ee..da9d4d739d 100644
--- a/bfd/corefile.c
+++ b/bfd/corefile.c
@@ -83,21 +83,21 @@ FUNCTION
core_file_matches_executable_p
SYNOPSIS
- boolean core_file_matches_executable_p
+ bfd_boolean core_file_matches_executable_p
(bfd *core_bfd, bfd *exec_bfd);
DESCRIPTION
- Return <<true>> if the core file attached to @var{core_bfd}
+ Return <<TRUE>> if the core file attached to @var{core_bfd}
was generated by a run of the executable file attached to
- @var{exec_bfd}, <<false>> otherwise.
+ @var{exec_bfd}, <<FALSE>> otherwise.
*/
-boolean
+bfd_boolean
core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd, *exec_bfd;
{
if ((core_bfd->format != bfd_core) || (exec_bfd->format != bfd_object)) {
bfd_set_error (bfd_error_wrong_format);
- return false;
+ return FALSE;
}
return BFD_SEND (core_bfd, _core_file_matches_executable_p,