diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
commit | b34976b65aea8f33690229600bbf4527ec3118e1 (patch) | |
tree | 6411348664ef81ca2aa2e3ff325116e6e6502edf /bfd/elfcore.h | |
parent | 583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff) | |
download | binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz |
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'bfd/elfcore.h')
-rw-r--r-- | bfd/elfcore.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elfcore.h b/bfd/elfcore.h index 264ff554fe2..4f9fcf75c25 100644 --- a/bfd/elfcore.h +++ b/bfd/elfcore.h @@ -32,7 +32,7 @@ elf_core_file_failing_signal (abfd) return elf_tdata (abfd)->core_signal; } -boolean +bfd_boolean elf_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd; bfd *exec_bfd; @@ -44,7 +44,7 @@ elf_core_file_matches_executable_p (core_bfd, exec_bfd) if (core_bfd->xvec != exec_bfd->xvec) { bfd_set_error (bfd_error_system_call); - return false; + return FALSE; } /* See if the name in the corefile matches the executable name. */ @@ -56,10 +56,10 @@ elf_core_file_matches_executable_p (core_bfd, exec_bfd) execname = execname ? execname + 1 : exec_bfd->filename; if (strcmp(execname, corename) != 0) - return false; + return FALSE; } - return true; + return TRUE; } /* Core files are simply standard ELF formatted files that partition |