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. --- binutils/arsup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binutils/arsup.c') diff --git a/binutils/arsup.c b/binutils/arsup.c index 7b01d37..b3e9672 100644 --- a/binutils/arsup.c +++ b/binutils/arsup.c @@ -69,7 +69,7 @@ map_over_list (arch, function, list) want to hack multiple references. */ for (ptr = list; ptr; ptr = ptr->next) { - boolean found = false; + bfd_boolean found = FALSE; bfd *prev = arch; for (head = arch->next; head; head = head->next) @@ -77,7 +77,7 @@ map_over_list (arch, function, list) if (head->filename != NULL && FILENAME_CMP (ptr->name, head->filename) == 0) { - found = true; + found = TRUE; function (head, prev); } prev = head; @@ -192,7 +192,7 @@ ar_open (name, t) return; } - if (bfd_check_format(ibfd, bfd_archive) != true) + if (!bfd_check_format(ibfd, bfd_archive)) { fprintf (stderr, _("%s: file %s is not an archive\n"), -- cgit v1.1