From b34976b65aea8f33690229600bbf4527ec3118e1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 30 Nov 2002 08:39:46 +0000 Subject: s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. --- bfd/elfcore.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bfd/elfcore.h') diff --git a/bfd/elfcore.h b/bfd/elfcore.h index 264ff554fe..4f9fcf75c2 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 -- cgit v1.2.3