summaryrefslogtreecommitdiff
path: root/bfd/xsym.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
commit1bbb2b5590641fe8700c42893532b1f038e2dc1a (patch)
tree58e95643197bad1009172e001e37a90acdb234e0 /bfd/xsym.c
parent2d28de53382e7fc3e21c82f77c3212f6b8fa84f9 (diff)
downloadgdb-1bbb2b5590641fe8700c42893532b1f038e2dc1a.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/xsym.c')
-rw-r--r--bfd/xsym.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/xsym.c b/bfd/xsym.c
index e6b3c4b11d5..65475742f13 100644
--- a/bfd/xsym.c
+++ b/bfd/xsym.c
@@ -92,11 +92,11 @@ compute_offset (first_page, page_size, entry_size, index)
return (page_number * page_size) + page_offset;
}
-boolean
+bfd_boolean
bfd_sym_mkobject (abfd)
bfd *abfd ATTRIBUTE_UNUSED;
{
- return (boolean) true;
+ return 1;
}
void
@@ -109,7 +109,7 @@ bfd_sym_print_symbol (abfd, afile, symbol, how)
return;
}
-boolean
+bfd_boolean
bfd_sym_valid (abfd)
bfd *abfd;
{
@@ -242,7 +242,7 @@ bfd_sym_read_header (abfd, header, version)
return bfd_sym_read_header_v32 (abfd, header);
case BFD_SYM_VERSION_3_1:
default:
- return false;
+ return FALSE;
}
}
@@ -2423,7 +2423,7 @@ bfd_sym_get_symtab (abfd, sym)
int
bfd_sym_sizeof_headers (abfd, exec)
bfd *abfd ATTRIBUTE_UNUSED;
- boolean exec ATTRIBUTE_UNUSED;
+ bfd_boolean exec ATTRIBUTE_UNUSED;
{
return 0;
}